Hi, in order to create a second admin site for a project, I created a new app, instantiated AdminSite in the app's admin.py and hooked it into the project's url configuration. The login page for the new admin site is displayed when accessing the configured url, however I'm unable to login. (Invalid credentials trigger an error message, with valid credentials the login form is displayed again with no error message.)
Any help is appreciated. I attached some code snippets below. Thanks, David Project's url.py: urlpatterns = patterns('', # ... (r'^cockpit/', include(cockpit.urls)), ) cockpit app's url.py: from admin import cockpit urlpatterns = patterns('', (r'^$', include(cockpit.urls)), ) admin.py in the cockpit app: cockpit = AdminSite('cockpit') cockpit.register(MyModel, MyModelAdmin) -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.