django 1.5 user model compat. fix