Django

Code

Ticket #6740 (closed: fixed)

Opened 7 months ago

Last modified 7 months ago

Documentation of flatpages app missing note that sites app is mandantory

Reported by: mail@dirkmeister.de Assigned to: nobody
Milestone: Component: Documentation
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation:
Needs tests: Patch needs improvement:

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

Attachments

Change History

03/09/08 14:40:31 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #6740 (Documentation of flatpages app missing note that sites app is mandantory)




Change Properties
Action