Thursday, December 30, 2010

User authentication in Django

Hi guys,

I'm attempting to follow the very simple setup for user authentication
in Django as detailed in the documentation here:

I've got a database synced, the apps installed as detailed, but when I
attempt to access a password protected url it gives me the following
404 message:

Using the URLconf defined in logintest.urls, Django tried these URL
patterns, in this order:
The current URL, accounts/login/, didn't match any of these.

Secret is the app that simply renders a page that says 'secret'. It
works fine when the @login decorator is commented out.

Any ideas?

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment