Saturday, February 25, 2012

Admin Module

I'm having an issue getting my admin module to work. I am getting the
following error. Any thoughts? Thanks.

TemplateSyntaxError at /hcp/admin/

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

Request Method: GET
Request URL: http://127.0.0.1:8000/hcp/admin/
Django Version: 1.3.1
Exception Type: TemplateSyntaxError
Exception Value:

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

Exception Location:
/Library/Python/2.6/site-packages/django/core/urlresolvers.py in
_get_callback, line 170
Python Executable: /usr/bin/python
Python Version: 2.6.1
Python Path:

['/Users/scottmacri/Documents/development/projects/python/mindfullynourished',
'/Library/Python/2.6/site-packages/MySQL_python-1.2.3-py2.6-macosx-10.6-universal.egg',
'/Library/Python/2.6/site-packages/setuptools-0.6c11-py2.6.egg',
'/Library/Python/2.6/site-packages/psycopg2-2.4.3-py2.6-macosx-10.6-universal.egg',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',
'/Library/Python/2.6/site-packages',
'/Library/Python/2.6/site-packages/PIL',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode']

Server time: Sat, 25 Feb 2012 23:24:28 -0600
Template error

In template /Library/Python/2.6/site-packages/django/contrib/admin/templates/admin/base.html,
error at line 31
Caught ViewDoesNotExist while rendering: Tried get_notes_health in
module hcp.views. Error was: 'module' object has no attribute
'get_notes_health'

--
Scott

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

No comments:

Post a Comment