开发者

django 1.3 admin problem

开发者 https://www.devze.com 2023-03-18 17:11 出处:网络
everytime i click on any link in django admin, it will call other urls too, and log me out, so now i can\'t change anything.

everytime i click on any link in django admin, it will call other urls too, and log me out, so now i can't change anything.

session id is changed everytime too.

i've checked urls.py 开发者_运维百科and the admin ones are at the top of the file.

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)),
)
0

精彩评论

暂无评论...
验证码 换一张
取 消