My application is working well at mysite.com/django/<stuff>, and I get
an admin login at            mysite.com/django/admin/ -- but when I
enter my credentials, I seem to be redirected to            mysite.com/
admin/ (which is a 404 error).  Did I miss an admin config setting
somewhere?

A relevant excerpt from urls.py appears below.

Allan


import os
from django.conf.urls.defaults import *
from django.conf import settings
from django.contrib import admin

admin.autodiscover()

urlpatterns = patterns('',

    (r'^contact/$', 'careers_contact.views.contact'),
    (r'^careers/$', 'careers_contact.views.careers'),

    (r'^admin/(.*)', admin.site.root),
)

--~--~---------~--~----~------------~-------~--~----~
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