每当我点击django admin中的任何链接时,它也会调用其他网址,并将我注销,所以现在我无法改变任何内容。
每次都会更改会话ID。
我检查了urls.py,管理员位于文件的顶部。
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'developer.views.home', name='home'),
# url(r'^developer/', include('developer.foo.urls')),
# Uncomment the admin/doc line below to enable admin documentation:
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
)