Environment:
Request Method: GET Request URL: http://localhost:8000/admin/auth/user/2/ Django Version: 1.3 Python Version: 2.7.1 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'debug_toolbar', 'templatelibrary', 'apps.index', 'apps.city'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') Template error: In template c:\python27\lib\site-packages\django-1.3-py2.7.egg\django\contrib\admin\templates\admin\includes\fieldset.html, error at line 6 Caught KeyError while rendering: "Key 'password' not found in Form" 1 : <fieldset class="module aligned {{ fieldset.classes }}"> 2 : {% if fieldset.name %}<h2>{{ fieldset.name }}</h2>{% endif %} 3 : {% if fieldset.description %} 4 : <div class="description">{{ fieldset.description|safe }}</div> 5 : {% endif %} 6 : {% for line in fieldset %} 7 : <div class="form-row{% if line.fields|length_is:'1' and line.errors %} errors{% endif %}{% for field in line %} {{ field.field.name }}{% endfor %}"> 8 : {% if line.fields|length_is:'1' %}{{ line.errors }}{% endif %} 9 : {% for field in line %} 10 : <div{% if not line.fields|length_is:'1' %} class="field-box{% if not field.is_readonly and field.errors %} errors{% endif %}"{% endif %}> 11 : {% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %} 12 : {% if field.is_checkbox %} 13 : {{ field.field }}{{ field.label_tag }} 14 : {% else %} 15 : {{ field.label_tag }} 16 : {% if field.is_readonly %} Traceback: File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\core\handlers\base.py" in get_response 111. response = callback(request, *callback_args, **callback_kwargs) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\contrib\admin\options.py" in wrapper 307. return self.admin_site.admin_view(view)(*args, **kwargs) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\utils\decorators.py" in _wrapped_view 93. response = view_func(request, *args, **kwargs) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\views\decorators\cache.py" in _wrapped_view_func 79. response = view_func(request, *args, **kwargs) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\contrib\admin\sites.py" in inner 197. return view(request, *args, **kwargs) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\utils\decorators.py" in _wrapper 28. return bound_func(*args, **kwargs) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\utils\decorators.py" in _wrapped_view 93. response = view_func(request, *args, **kwargs) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\utils\decorators.py" in bound_func 24. return func(self, *args2, **kwargs2) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\db\transaction.py" in inner 217. res = func(*args, **kwargs) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\contrib\admin\options.py" in change_view 1030. return self.render_change_form(request, context, change=True, obj=obj) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\contrib\admin\options.py" in render_change_form 708. ], context, context_instance=context_instance) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\shortcuts\__init__.py" in render_to_response 20. return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\loader.py" in render_to_string 188. return t.render(context_instance) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\base.py" in render 123. return self._render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\base.py" in _render 117. return self.nodelist.render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\base.py" in render 744. bits.append(self.render_node(node, context)) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\debug.py" in render_node 73. result = node.render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\loader_tags.py" in render 127. return compiled_parent._render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\base.py" in _render 117. return self.nodelist.render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\base.py" in render 744. bits.append(self.render_node(node, context)) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\debug.py" in render_node 73. result = node.render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\loader_tags.py" in render 127. return compiled_parent._render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\base.py" in _render 117. return self.nodelist.render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\base.py" in render 744. bits.append(self.render_node(node, context)) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\debug.py" in render_node 73. result = node.render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\loader_tags.py" in render 64. result = block.nodelist.render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\base.py" in render 744. bits.append(self.render_node(node, context)) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\debug.py" in render_node 73. result = node.render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\defaulttags.py" in render 227. nodelist.append(node.render(context)) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\loader_tags.py" in render 159. return self.render_template(self.template, context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\loader_tags.py" in render_template 141. output = template.render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\base.py" in render 123. return self._render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\base.py" in _render 117. return self.nodelist.render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\base.py" in render 744. bits.append(self.render_node(node, context)) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\debug.py" in render_node 73. result = node.render(context) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\defaulttags.py" in render 227. nodelist.append(node.render(context)) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\template\defaulttags.py" in render 190. values = list(values) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\contrib\admin\helpers.py" in __iter__ 105. yield AdminField(self.form, field, is_first=(i == 0)) File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\contrib\admin\helpers.py" in __init__ 112. self.field = form[field] # A django.forms.BoundField instance File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\forms\forms.py" in __getitem__ 106. raise KeyError('Key %r not found in Form' % name) Exception Type: TemplateSyntaxError at /admin/auth/user/2/ Exception Value: Caught KeyError while rendering: "Key 'password' not found in Form" -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Mp2AbBd8vOkJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.