开发者

django 1.3 admin problem

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜