So continuing with this... I got the print-outs to work (I still need to try Stefano's suggestion)... I register a new user (duh6) via my register page and in the output for the dev server, I see: in myproject.cc.models: for user <class 'django.contrib.auth.models.User'>, pr ofile <django.db.models.fields.related.SingleRelatedObjectDescriptor object at 0 x0000000002F031D0> already exists in cc.models: for user <class 'django.contrib.auth.models.User'>, profile <djang o.db.models.fields.related.SingleRelatedObjectDescriptor object at 0x0000000002F 031D0> already exists
So, it seems like the user has a profile. But, if I fire-up a shell via manage.py and do the following: >>> from django.contrib.auth.models import User >>> import cc.models in cc.models in cc.models: connected profile_handler to post_save signal >>> u = User.objects.get(username__exact="duh6") >>> u <User: duh6> >>> u.email u'd...@duh6.com' >>> u.userprofile Traceback (most recent call last): File "<console>", line 1, in <module> File "c:\python27\lib\site-packages\django\db\models\fields \related.py", line 226, in __get__ rel_obj = self.related.model._base_manager.using(db).get(**params) File "c:\python27\lib\site-packages\django\db\models\query.py", line 347, in g et % self.model._meta.object_name) DoesNotExist: UserProfile matching query does not exist. >>> u.get_profile() Traceback (most recent call last): File "<console>", line 1, in <module> File "c:\python27\lib\site-packages\django\contrib\auth\models.py", line 373, in get_profile self._profile_cache = model._default_manager.using(self._state.db).get(user_ _id__exact=self.id) File "c:\python27\lib\site-packages\django\db\models\query.py", line 347, in g et % self.model._meta.object_name) DoesNotExist: UserProfile matching query does not exist. >>> Am I trying to access the profile incorrectly? Not getting something? All of the above? :) -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.