开发者

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:

  1. ^admin/ ^$
  2. ^admin/ ^logout/$
  3. ^admin/ ^password_change/$
  4. ^admin/ ^password_change/done/$
  5. ^admin/ ^jsi18n/$
  6. ^admin/ ^r/(?P\d+)/(?P.+)/$
  7. ^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?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜