#12843: add user in admin causes template exception: maximum recursion depth exceeded ----------------------------------+----------------------------------------- Reporter: m...@tranchant.co.uk | Owner: nobody Status: new | Milestone: Component: django.contrib.admin | Version: 1.1 Keywords: auth admin recursion | Stage: Unreviewed Has_patch: 0 | ----------------------------------+----------------------------------------- Running Django 1.1.1, set up basic model structure and activated admin site. Turned on auth as described in tutorial, using 1.1.1 urls.py instructions. My models work fine in the admin interface, but I get an error when adding a user.
From Home > Auth I choose to add a user, fill in the username and password, hit Save, and: {{{ Template error In template /usr/lib64/python2.6/site- packages/django/contrib/admin/templates/admin/includes/fieldset.html, error at line 12 Caught an exception while rendering: maximum recursion depth exceeded 2 {% if fieldset.name %}<h2>{{ fieldset.name }}</h2>{% endif %} 3 {% if fieldset.description %}<div class="description">{{ fieldset.description|safe }}</div>{% endif %} 4 {% for line in fieldset %} 5 <div class="form-row{% if line.errors %} errors{% endif %} {% for field in line %}{{ field.field.name }} {% endfor %} "> 6 {{ line.errors }} 7 {% for field in line %} 8 <div{% if not line.fields|length_is:"1" %} class="field-box"{% endif %}> 9 {% if field.is_checkbox %} 10 {{ field.field }}{{ field.label_tag }} 11 {% else %} 12 {{ field.label_tag }}{{ '''field.field''' }} 13 {% endif %} 14 {% if field.field.field.help_text %}<p class="help">{{ field.field.field.help_text|safe }}</p>{% endif %} 15 </div> }}} -- Ticket URL: <http://code.djangoproject.com/ticket/12843> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.