Hello,
    I am trying to use the get_profile() function:

In my settings.py i have:

AUTH_PROFILE_MODULE = 'register.registration'

In my apps/user_profile/views.py i have:

def index(request):

   if request.method == 'POST':
      pass
   else:
      if request.user.is_authenticated():
         user_profile_obj = request.user.get_profile()
         ...

This gives me an error:
Cannot resolve keyword 'user' into field. Choices are: xxx, yyy, zzz

Any ideas as to what may be causing this?

Thanks
Jim




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to