Documentation of flatpages app missing note that sites app is mandantory
|Reported by:||mail@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:|
|Needs tests:||Patch needs improvement:|
The flatpages app needs the "sites" app. Without the sites app, I get the error message in the Admin interface that the "django_sites" table could not be found.
The documentation doesn't that this in a direct way. It simple says "It can be associated with one, or multiple, sites." But an additional note that is needs the sites app would be great.
Ever better would of course be to make the precondition optional. The sites app documentation states:
"Some django.contrib applications take advantage of the sites framework but are architected in a way that doesn’t require the sites framework to be installed in your database. (Some people don’t want to, or just aren’t able to install the extra database table that the sites framework requires.) For those cases, the framework provides a !RequestSite class, which can be used as a fallback when the database-backed sites framework is not available."
But I assume that this is every hard because the model depends on the Site class. However, the clarify the documentation about that point would be great