I have a user profile defined in web.core.models.py and I cannot get
this to work at all.  I am constantly getting  the following:

>>> User.objects.get(username="Alex")
<User: alex>
>>> User.objects.get(username="Alex").get_profile()
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "C:\Program Files\Python25\lib\site-packages\django\contrib\auth
\models.py", line 294, in get_profile
    self._profile_cache =
model._default_manager.get(user__id__exact=self.id)
AttributeError: 'NoneType' object has no attribute '_default_manager'

I have set the following in settings.py (among a thousand other
combinations).

AUTH_PROFILE_MODULE = "web.webuserprofile"

I have also tried:

AUTH_PROFILE_MODULE = "web.core.webuserprofile" which gives me Too
Many Values to Unpack.

I have also tried to create a simple models.py that import
core.webuserprofile.models.py but that didn't work either.

Can someone please help me.  This has cost me an unbelievable amount
of time trying to get this going.
--~--~---------~--~----~------------~-------~--~----~
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