↧
Answer by Daniel Qiu for What is the new approach to get user profile in...
At first,I create a 'profile' for User:User.profile = property(lambda u: Configs.objects.get_or_create(user=u)[0])and use this to get the profile:request.user.profilemore detail here:...
View ArticleWhat is the new approach to get user profile in Django 1.6?
I'm quite new to Django. I'm trying to get user profile with the help of request.user.get_profile() but there is a warning that the use of AUTH_PROFILE_MODULE has been deprecated. I have a line in my...
View Article
More Pages to Explore .....