What version of Django are you using? Do you have django.contrib.auth
in your INSTALLED_APPS?
On Tue, Apr 1, 2008 at 12:10 PM, knack <[EMAIL PROTECTED]> wrote:
>
> I created a brand new project and app, left the default settings
> untouched, ran syncdb to create the user authentication tables,
I created a brand new project and app, left the default settings
untouched, ran syncdb to create the user authentication tables, and
created a very simple view (just returns an HttpResponse object) that
requires login permission. Same error: "ImportError at /accounts/
login/: No module named login
I'm using Django 96.1 and am attempting to enable the user
authentication system following the directions in the Django book and
website documentation. I'm also using the 'login_required' decorator
to restrict all my views, so typing in any valid address should
redirect me to the login screen. Unf
3 matches
Mail list logo