On Dec 29 2007, 11:03 am, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> Is there 'django.contrib.auth.middleware.AuthenticationMiddleware' in
> your MIDDLEWARE_CLASSES ?

No. Uncommenting
        'django.middleware.common.CommonMiddleware',
        'django.contrib.sessions.middleware.SessionMiddleware',
        'django.contrib.auth.middleware.AuthenticationMiddleware',
in the distribution settings file was progress, resulting in a
complaint about no login.html file.
Copying django/controb/admin/templates/admin/ to templates fixed that
and it works now.

The generally excellent book indicates only a few of the changes
necessary to enable the admin system.

Thanks a lot for your help.

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to