Hello all! I'm excited to use the django web framework, but I'm having trouble getting the web admin page to work. After trying to hit http://mydomain.com/admin I get the login screen. After logging on, my server returns (this happens whether I'm in the dev server @ port 8000 or production):
#################################################################################### RuntimeError at /admin/ maximum recursion depth exceeded Request Method: GET Request URL: http://django.johnmarsland.com:8000/admin/ Exception Type: RuntimeError Exception Value: maximum recursion depth exceeded Exception Location: /home/jmarsland/django/django_src/django/core/ urlresolvers.py in _get_reverse_dict, line 215 Python Executable: /usr/bin/python Python Version: 2.3.5 Python Path: ['/home/.strutter/jmarsland/django/django_projects/ mysite', '/home/.strutter/jmarsland/django/django_projects/mysite', '/ home/jmarsland/django/django_src', '/home/jmarsland/django/ django_projects', '/usr/lib/python23.zip', '/usr/lib/python2.3', '/usr/ lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk', '/usr/lib/ python2.3/lib-dynload', '/usr/local/lib/python2.3/site-packages', '/ usr/lib/python2.3/site-packages', '/usr/lib/python2.3/site-packages/ Numeric', '/usr/lib/python2.3/site-packages/PIL'] In template /home/jmarsland/django/django_src/django/contrib/admin/ templates/admin/base.html, error at line 28 Caught an exception while rendering: maximum recursion depth exceeded 18 {% if not is_popup %} 19 <!-- Header --> 20 <div id="header"> 21 <div id="branding"> 22 {% block branding %}{% endblock %} 23 </div> 24 {% if user.is_authenticated and user.is_staff %} 25 <div id="user-tools"> 26 {% trans 'Welcome,' %} <strong>{% if user.first_name %} {{ user.first_name|escape }}{% else %}{{ user.username }}{% endif %}</ strong>. 27 {% block userlinks %} 28 <a href="{% url django.contrib.admin.views.doc.doc_index %}">{% trans 'Documentation' %}</a> 29 / <a href="{% url django.contrib.auth.views.password_change %}">{% trans 'Change password' %}</a> 30 / <a href="{% url django.contrib.auth.views.logout %}">{% trans 'Log out' %}</a> 31 {% endblock %} 32 </div> 33 {% endif %} 34 {% block nav-global %}{% endblock %} 35 </div> 36 <!-- END Header --> 37 {% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans 'Home' %}</a>{% if title %} › {{ title|escape }}{% endif %}</div>{% endblock %} 38 {% endif %} ################################################################################ My Setup: * latest build of dango dreamhost * followed the instructions on http://www2.jeffcroft.com/blog/2006/may/11/django-dreamhost/ with a few tweaks specific to my project * Continued with django documention as well, http://www.djangoproject.com/documentation/ * I came across a number of stumbling blocks. I ended up creating two projects and physically deleting the original project. I'm new to development, django, and python in general. Please let me know if you need any more information. Thanks, ~John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---