Hi,

I follow the doc to test the login system. I set a view function with
@login_required to show successful login message.

In the html, a link like:
<li><a href="{% url 'account:login' %}">Login</a></li>

The URLconf under 'account' namespace contains one url:
    url(r'^login/$', 'django.contrib.auth.views.login', name='login',)


It shows the exceptions, and I show the traceback here:







*Template Loader Error:Django tried loading these templates, in this
order:Using loader django.template.loaders.filesystem.Loader:<my
project>/templates/registration/login.html (File does not exist)Using
loader
django.template.loaders.app_directories.Loader:/usr/local/lib/python3.2/dist-packages/django/contrib/admin/templates/registration/login.html
(File does not
exist)/usr/local/lib/python3.2/dist-packages/django/contrib/auth/templates/registration/login.html
(File does not exist)*
I found one login.html in 'django/contrib/admin/templates/admin/login.html'.
Is it a bug or I miss something?

Yen

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFnq%3D1iCtD9KYK52VdOnrUtqEoyCP5b8jNiwYspc2M73X7bJ0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to