Browse files

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
  • Loading branch information...
1 parent 4487be6 commit 1f0de0312e0899aa1d45ad3d95c1d477b070cec7 @adrianholovaty adrianholovaty committed Mar 9, 2008
Showing with 3 additions and 0 deletions.
  1. +3 −0 docs/flatpages.txt
View
3 docs/flatpages.txt
@@ -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

0 comments on commit 1f0de03

Please sign in to comment.