From 1f0de0312e0899aa1d45ad3d95c1d477b070cec7 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 9 Mar 2008 19:40:31 +0000 Subject: [PATCH] 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 --- docs/flatpages.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/flatpages.txt b/docs/flatpages.txt index 7c27fe8793..0e3fc8a9ad 100644 --- a/docs/flatpages.txt +++ b/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