Skip to content

Commit

Permalink
Fixed #6740 -- Documented in docs/flatpage.txt that the flatpages app…
Browse files Browse the repository at this point in the history
… requires the sites framework. Thanks, mail@dirkmeister.de

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Mar 9, 2008
1 parent 4487be6 commit 1f0de03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/flatpages.txt
Expand Up @@ -24,11 +24,14 @@ Installation

To install the flatpages app, follow these steps:

1. Install the `sites framework`_ by adding ``'django.contrib.sites'`` to
your INSTALLED_APPS_ setting, if it's not already in there.
1. Add ``'django.contrib.flatpages'`` to your INSTALLED_APPS_ setting.
2. Add ``'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware'``
to your MIDDLEWARE_CLASSES_ setting.
3. Run the command ``manage.py syncdb``.

.. _sites framework: ../sites/
.. _INSTALLED_APPS: ../settings/#installed-apps
.. _MIDDLEWARE_CLASSES: ../settings/#middleware-classes

Expand Down

0 comments on commit 1f0de03

Please sign in to comment.