Could you post your models code somewhere for us to take a look at? Also could you separate each variable in you template to a different line so we know what exactly was causing the error?
I think I have an idea of what is going on here, but I want to try to reproduce it with as few lines as possible. On Tue, Apr 15, 2008 at 10:16 AM, sector119 <[EMAIL PROTECTED]> wrote: > > I begin testing qs-rf branch and get this exception, why? > May be because Office model is tree - has parent = > models.ForeignKey('self') field? > > Exception Type: RuntimeError > Exception Value: maximum recursion depth exceeded in cmp > Exception Location: /home/sector119/devel/django_src/django/db/models/ > sql/query.py in join, line 734 > Python Executable: /usr/bin/python2.5 > > > Template error > > In template /home/sector119/devel/eps_src/eps/templates/base.html, > error at line 23 > Caught an exception while rendering: maximum recursion depth exceeded > in cmp > > 23 <b>{{ user.office.location.get_type_display }}. > {{ user.office.location.name }}, {{ user.office.name }}, {% firstof > user.get_full_name user.username %}</b> | {% block userlinks %}<a > href="">{% trans 'Help' %}</a> | <a href="{% url > django.contrib.auth.views.logout %}">{% trans 'Sign out' %}</a>{% > endblock %} > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---