neon-jungle / wagtail-schema.org

Schema.org JSON-LD tags for Wagtail sites
BSD 2-Clause "Simplified" License
70 stars 17 forks source link

Update docs to indicate that `wagtail.contrib.settings` is required in `INSTALLED_APPS` #11

Closed engineervix closed 1 year ago

engineervix commented 3 years ago

Thanks for this awesome package.

I encountered the following error while accessing the /admin/ route:

django.urls.exceptions.NoReverseMatch: 'wagtailsettings' is not a registered namespace

After debugging and googling, I discovered that I needed to add wagtail.contrib.settings to INSTALLED_APPS to fix the problem. Additional reference: https://github.com/chrisdev/django-wagtail-feeds/issues/28#issuecomment-270129087

It would therefore be great to update the docs to mention this so that newcomers don't trip on the same problem. I'm happy to open a PR.

seb-b commented 1 year ago

thanks for pointing this out, I'm only 1 year late to adding it to the readme 😆