Commit 1f0de031 authored by Adrian Holovaty's avatar Adrian Holovaty
Browse files

Fixed #6740 -- Documented in docs/flatpage.txt that the flatpages app requires...

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

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 4487be66
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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