Re: default login template not found (registration/login.html)

2014-11-20 Thread 顏大剛
I got it, thank you. Yen 2014-11-20 20:18 GMT+08:00 Daniel Roseman : > On Thursday, 20 November 2014 11:39:09 UTC, Yen wrote: >> >> 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:

Re: default login template not found (registration/login.html)

2014-11-20 Thread Daniel Roseman
On Thursday, 20 November 2014 11:39:09 UTC, Yen wrote: > > 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: > Login > > The URLconf under 'account' namespace contains one url: > url

Re: default login template not found (registration/login.html)

2014-11-20 Thread Sergiy Khohlov
Check your settings.py for TEMPLATE_DIRS Many thanks, Serge +380 636150445 skype: skhohlov On Thu, Nov 20, 2014 at 7:48 AM, 顏大剛 wrote: > 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

default login template not found (registration/login.html)

2014-11-20 Thread 顏大剛
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: Login The URLconf under 'account' namespace contains one url: url(r'^login/$', 'django.contrib.auth.views.login', name='login',) It shows th