sorry. Problem is not User object but login from django.contrib.auth.

login(request,user)

On Jun 21, 6:21 pm, "T'mas" <tomas.deb...@gmail.com> wrote:
> Hi there,
>
> I am having problem with User model from django.contrib.auth.models.
> When making instance in view:
>
> user = User.objects.get(username='tmas')
>
> it results in error: maximum recursion depth exceeded while calling a
> Python object
>
> I am running Xubuntu 11.04, python 2.7.1+ and django 1.3.
> Running it on development server, didn't use on apache.
>
> regards,
>
> Tomas Debnar

-- 
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.

Reply via email to