On Thu, Dec 3, 2009 at 1:24 AM, notcourage <klr...@gmail.com> wrote:

> 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.
>
>
I have not seen anything like missing levels in a traceback, nor can I
recreate anything like what you are reporting based on the information
provided.  If you can post a complete small example (models, url patterns,
view) that demonstrates what you see, someone might be able to help more.

Karen

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.


Reply via email to