Opened 17 years ago

Closed 17 years ago

#6740 closed (fixed)

Documentation of flatpages app missing note that sites app is mandantory

Reported by: mail@… Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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

Change History (1)

comment:1 by Adrian Holovaty, 17 years ago

Resolution: fixed
Status: newclosed

(In [7208]) Fixed #6740 -- Documented in docs/flatpage.txt that the flatpages app requires the sites framework. Thanks, mail@…

Note: See TracTickets for help on using tickets.
Back to Top