Well spotted, that was it. Not sure where I got the (.*) from, it is
certainly not in the documentation.
Thanks
Ludwig
2008/8/26 Karen Tracey <[EMAIL PROTECTED]>
> On Tue, Aug 26, 2008 at 7:21 AM, Ludwig <[EMAIL PROTECTED]>wrote:
>
>>
>> ('^accounts/login/(.*)', 'django.contrib.auth.views.lo
On Tue, Aug 26, 2008 at 7:21 AM, Ludwig <[EMAIL PROTECTED]> wrote:
>
> ('^accounts/login/(.*)', 'django.contrib.auth.views.login'),
> ('^accounts/profile/(.*)', 'django.contrib.auth.views.profile'),
> ('^accounts/logout/(.*)', 'django.contrib.auth.views.logout',
> {'next_page': '/'}),
Apologies for subjecting people to my debugging effort, but I have now tried
to replicate the problem with a minimal installation.
I create a new project with django-admin.py, and simply edit the database
settings to fit my DB, then run syncdb.
Then I create a minimal urls.py like this:
from djan
I just tried the same with a fresh installation from SVN trunk and get the
same error.
2008/8/26 Ludwig <[EMAIL PROTECTED]>
> Try again:
>
> If I do this in urls.py
>
> ...
> ('^accounts/login/(.*)', 'django.contrib.auth.views.login'),
> ...
>
> I get TemplateDoesNotExist exception, because t
Try again:
If I do this in urls.py
...
('^accounts/login/(.*)', 'django.contrib.auth.views.login'),
...
I get TemplateDoesNotExist exception, because the template parameter is
empty. The full snippet is
http://dpaste.com/73893/
The template name is empty already at the callback (line 33) - s
2008/8/25 Ludwig <[EMAIL PROTECTED]>
> I am using the 1.0 beta 1 release.
>
> I think I am following the documentation, when I set
>
> ('^accounts/login/(.*)', 'django.contrib.auth.views.login', {}),
>
> in my urls.py
>
> But then I get a TemplateDoesNotExist exception when opening
> /accounts
I am using the 1.0 beta 1 release.
I think I am following the documentation, when I set
('^accounts/login/(.*)', 'django.contrib.auth.views.login', {}),
in my urls.py
But then I get a TemplateDoesNotExist exception when opening
/accounts/login.
The template (standard registration/login.htm
7 matches
Mail list logo