On Dec 21, 7:05 am, Karen Tracey <kmtra...@gmail.com> wrote:
> People would be able to help you more effectively if you included the stack
> trace that goes with the exception.
>
> Karen
> --http://tracey.org/kmt/

The stack trace for the error is:

ERROR Caught AttributeError while rendering: 'User' object has no
attribute 'id'
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/
base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.6/dist-packages/django/contrib/admin/
sites.py", line 214, in wrapper
    return self.admin_view(view, cacheable)(*args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/django/utils/
decorators.py", line 93, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/django/views/decorators/
cache.py", line 79, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/django/contrib/admin/
sites.py", line 197, in inner
    return view(request, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/django/views/decorators/
cache.py", line 79, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/django/contrib/admin/
sites.py", line 382, in index
    context_instance=context_instance
  File "/usr/local/lib/python2.6/dist-packages/django/shortcuts/
__init__.py", line 20, in render_to_response
    return HttpResponse(loader.render_to_string(*args, **kwargs),
**httpresponse_kwargs)
  File "/usr/local/lib/python2.6/dist-packages/django/template/
loader.py", line 188, in render_to_string
    return t.render(context_instance)
  File "/usr/local/lib/python2.6/dist-packages/django/template/
base.py", line 123, in render
    return self._render(context)
  File "/usr/local/lib/python2.6/dist-packages/django/test/utils.py",
line 57, in instrumented_test_render
    return self.nodelist.render(context)
  File "/usr/local/lib/python2.6/dist-packages/django/template/
base.py", line 744, in render
    bits.append(self.render_node(node, context))
  File "/usr/local/lib/python2.6/dist-packages/django/template/
debug.py", line 73, in render_node
    result = node.render(context)
  File "/usr/local/lib/python2.6/dist-packages/django/template/
loader_tags.py", line 127, in render
    return compiled_parent._render(context)
  File "/usr/local/lib/python2.6/dist-packages/django/test/utils.py",
line 57, in instrumented_test_render
    return self.nodelist.render(context)
  File "/usr/local/lib/python2.6/dist-packages/django/template/
base.py", line 744, in render
    bits.append(self.render_node(node, context))
  File "/usr/local/lib/python2.6/dist-packages/django/template/
debug.py", line 73, in render_node
    result = node.render(context)
  File "/usr/local/lib/python2.6/dist-packages/django/template/
loader_tags.py", line 127, in render
    return compiled_parent._render(context)
  File "/usr/local/lib/python2.6/dist-packages/django/test/utils.py",
line 57, in instrumented_test_render
    return self.nodelist.render(context)
  File "/usr/local/lib/python2.6/dist-packages/django/template/
base.py", line 744, in render
    bits.append(self.render_node(node, context))
  File "/usr/local/lib/python2.6/dist-packages/django/template/
debug.py", line 73, in render_node
    result = node.render(context)
  File "/usr/local/lib/python2.6/dist-packages/django/template/
loader_tags.py", line 64, in render
    result = block.nodelist.render(context)
  File "/usr/local/lib/python2.6/dist-packages/django/template/
base.py", line 744, in render
    bits.append(self.render_node(node, context))
  File "/usr/local/lib/python2.6/dist-packages/django/template/
debug.py", line 73, in render_node
    result = node.render(context)
  File "/usr/local/lib/python2.6/dist-packages/django/contrib/admin/
templatetags/log.py", line 19, in render
    user_id = context[self.user].id
TemplateSyntaxError: Caught AttributeError while rendering: 'User'
object has no attribute 'id'
[21/Dec/2011 10:40:00] "GET /admin/ HTTP/1.1" 500 493324


Thanks for helping,
Regards,
DivKis

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to