Re: making instance of auth User results in: maximum recursion depth exceeded while calling a Python object

2011-06-22 Thread T7;mas
Thank you very much, you helped me out. I found how stupid I am :). I was calling login() django function from view function called login(). Next time I will post my code. Thanks for advice T. On Jun 22, 1:05 pm, Karen Tracey wrote: > On Tue, Jun 21, 2011 at 12:34 PM, T'mas wrote: &

Re: making instance of auth User results in: maximum recursion depth exceeded while calling a Python object

2011-06-21 Thread T7;mas
sorry. Problem is not User object but login from django.contrib.auth. login(request,user) On Jun 21, 6:21 pm, "T'mas" wrote: > Hi there, > > I am having problem with User model from django.contrib.auth.models. > When making instance in view: > > user = User.ob

making instance of auth User results in: maximum recursion depth exceeded while calling a Python object

2011-06-21 Thread T7;mas
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. Run