userware to match django 1.6