wagtail / wagtail

A Django content management system focused on flexibility and user experience

Home Page:https://wagtail.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I'm adding a page in the CMS/interface, why is the 'Add' button missing?

maya413 opened this issue · comments

I'm adding a page in the CMS/interface, why is the 'Add' button missing?

Steps to Reproduce

  1. Integrating Wagtail into a Django project
  2. path('admin/', admin.site.urls),
    
    path('cms/', include(wagtailadmin_urls)),
    path('documents/', include(wagtaildocs_urls)),
    path('pages/', include(wagtail_urls)),

微信截图_20240405012019

You probably haven't defined any page models, as mentioned in the last section of the "integrating into Django" docs:

Remember to add the new app to INSTALLED_APPS in your settings.py file and set up page models, as described in Your first Wagtail site.

For future support queries, please use Stack Overflow or the #support channel in the Wagtail Slack.