我在预先存在的Django项目整合鹡鸰。 我的项目树如下:
/adjangoproject/
/anapp
/blog/
urls.py
/anotherapp
urls.py
我adjangoproject / urls.py
urlpatterns = patterns('',
url(r'^blog/', include('geonode.blog.urls')),
[...]
我adjangoproject /博客/ urls.py
urlpatterns = patterns('',
url(r'^cms/', include(wagtailadmin_urls)),
url(r'', include(wagtail_urls)),
)
尽管[adjangoproject_rooturl]/blog/cms
正确显示鹡鸰管理,路径[adjangoproject_rooturl]/blog/
(基站位置在我的博客鹡鸰的页面的送达)给出:
Request Method: GET
Request URL: http://127.0.0.1:8000/blog/
Raised by: wagtail.wagtailcore.views.serve
你可以帮帮我吗?