404Error When I open /admin/appname/ on Apahce(mod_wsgi)
When I open /admin on my local domain use development server,It all work. When I move this project to Apache,Other pages work normal,But When I open admin site,click 'All' or 'Change',I get a 404 Er开发者_如何学编程ror
Page not found (404)
Request Method: GET Request URL: http://localdomain/admin/article/article/Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order:
- ^admin/ ^$
- ^admin/ ^logout/$
- ^admin/ ^password_change/$
- ^admin/ ^password_change/done/$
- ^admin/ ^jsi18n/$
- ^admin/ ^r/(?P\d+)/(?P.+)/$
- ^admin/ ^(?P\w+)/$
The current URL, admin/article/article/, didn't match any of these.
Thanks in advance for any help.
Where did you get this url admin/article/article/
? This pattern should have been defined in your urls.py
file right?
精彩评论