I'm having trouble with the Django Admin. My login page appears ok at
http://127.0.0.1:8000/admin but when I try to login with a valid
username or password the page seems to refresh - it reappears with
text boxes empty. It doesn't display any errors on the page (logging
in with invalid username / password brings up all the red errors you'd
expect).

I'm not sure what's going on here. The console gives me the following:

(cache) C:\PythonProjects\CacheProject\cache>python manage.py
runserver
Validating models...

0 errors found
Django version 1.3, using settings 'cache.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
[06/Jun/2011 11:52:09] "GET /admin/ HTTP/1.1" 200 2053
[06/Jun/2011 11:52:17] "POST /admin/ HTTP/1.1" 302 0
[06/Jun/2011 11:52:21] "GET /admin/ HTTP/1.1" 200 2053

settings.py -
#
INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'django.contrib.admin',
)
#

urls.py -

from django.conf.urls.defaults import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^admin/', include(admin.site.urls)),
)

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

Reply via email to