def home (request):
if (request.user.is_authenticated()):
artifacts = Artifact.objects.filter
(member__exact=request.user.profile.id)
...
else:
...
In this case, the user is authenticated but the predicate is failing
as expected because user.profile is NULL. The traceback is just odd.
--
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?hl=en.