Tuesday, September 28, 2010

Fixing Missing Template Error

I am getting a Missing Template exception

Exception Type: TemplateDoesNotExist
Exception Value:

registration/login.html

My urls.py looks like this:

from django.conf.urls.defaults import *
from django.contrib.auth.views import login
.
.
.
urlpatterns = patterns('',
(r'^$', main_page),
(r'^login/$', 'django.contrib.auth.views.login'),
)

I would like to correct the exception, but do not know where to begin.
This does not work either under runserver or the default configuration
under Apache.

Small examples work with the general project. This is a login
application under a project.

Thanks for any pointers.
cmn

--
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