Friday, June 24, 2011

Django TemplateSyntaxError at /admin/

http://127.0.0.1:8000/en-US/admin/

Django TemplateSyntaxError at /admin/

Caught ViewDoesNotExist while rendering: Tried xxx in module msw.views. Error was: 'module' object has no attribute 'xxx'

Template error

In template /path_to/templates/admin/base.html, error at line ##

...

Traceback Switch to copy-and-paste view

/path_to/vendor/src/django/django/core/handlers/base.py in get_response

The error messages are actually somewhat misleading. The culprit was actually an invalid url in url.py.

No comments:

Post a Comment