Hello, In an effort to keep up with svn with django I have just upgraded all of my sites to the newest svn revision. The problem is after updating I get the error:
>NameError at /admin/ >name 'PasswordField' is not defined >Request Method: GET >Request URL: http://xxx/admin/ >Exception Type: NameError >Exception Value: name 'PasswordField' is not defined >Exception Location: /xxx/django/django_projects/eprbiomed/login/models.py >in UserProfile, line 20 >Python Executable: /xxx/Enviroment/bin/python2.5 >Python Version: 2.5.0 >Template error > >In template >/xxx/django/django_src/django/contrib/admin/templates/admin/base.html, error >at line 28 Boiling it down I find the last good revision is 6390 for me. >Index: base.html >=================================================================== >--- base.html (revision 6390) >+++ base.html (revision 6391) >@@ -22,7 +22,14 @@ > {% block branding %}{% endblock %} > </div> > {% if user.is_authenticated and user.is_staff %} >- <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if >user.first_name %}{{ >user.first_name|escape }}{% else >%}{{ user.username }}{% endif %}</strong>. {% block userlinks %}<a >href="doc/">{% trans 'Documentation' %}</a> / <a >href="password_change/">{% trans 'Change password' %}</a> / <a >href="logout/">{% trans 'Log out' %}</a>{% endbl ock >%}</div> >+ <div id="user-tools"> >+ {% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ >user.first_name|escape }}{% else %}{{ user.userna me >}}{% endif %}</strong>. >+ {% block userlinks %} >+ <a href="{% url django.contrib.admin.views.doc.doc_index %}">{% trans >'Documentation' %}</a> >+ / <a href="{% url django.contrib.auth.views.password_change %}">{% >trans 'Change password' %}</a> >+ / <a href="{% url django.contrib.auth.views.logout %}">{% trans 'Log >out' %}</a> >+ {% endblock %} >+ </div> > {% endif %} > {% block nav-global %}{% endblock %} > </div> Is there something I'm missing? No changes are made in django.contrib.auth.views between 6390 and 6391. Thanks. jason --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

