Code

Opened 6 years ago

Closed 6 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: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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 (0)

Change History (1)

comment:1 Changed 6 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.