Hi,
in need of an extended user model I followed the
little tutorial on
http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model:
1. I created a model
2. I added AUTH_PROFILE_MODULE ='my_apps.my_model_name' to my setting
But when I try to get the data from my extension (like
u.get_profile().some_field
the following error is thrown:
-------------------------------------->
Traceback (most recent call last):
File "<console>", line 1, in ?
File "/usr/lib/python2.4/site-packages/django/contrib/auth/models.py", line
242, in get_profile
except (ImportError, ImproperlyConfigured):
NameError: global name 'ImproperlyConfigured' is not defined
<---------------------------------------------
any help would be appreciated,
thanks in advance
uli
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---