错误提示:
NoReverseMatch at /admin/
Reverse for 'logout' with arguments '()' and keyword arguments '{}' not found.
解决方式:
将urls.py中
(r'^admin/$', include(admin.site.urls)),
改成
(r'^admin/', include(admin.site.urls)),
NoReverseMatch at /admin/
Reverse for 'logout' with arguments '()' and keyword arguments '{}' not found.
将urls.py中
(r'^admin/$', include(admin.site.urls)),
改成
(r'^admin/', include(admin.site.urls)),
转载于:https://www.cnblogs.com/yunsicai/p/3858723.html