Tuesday, September 28, 2010

Re: Fixing Missing Template Error

On Tue, Sep 28, 2010 at 7:35 PM, octopusgrabbus
<old_road_farm@verizon.net> wrote:
> I am getting a Missing Template exception
>
> Exception Type:         TemplateDoesNotExist
> Exception Value:
>
> registration/login.html

What's your TEMPLATE_DIRS value in settings.py?

Inside your template dir you need to create the file registration/login.html

The auth contrib app doesn't provides default templates.
http://docs.djangoproject.com/en/dev/topics/auth/#django.contrib.auth.views.login

Regards,

Rolando Espinoza La fuente
www.insophia.com

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