mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixed #6742 -- Fixed numbering error in docs/flatpages.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e3e2fb3ff0
commit
a128ce785f
@ -26,10 +26,10 @@ 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'``
|
||||
2. Add ``'django.contrib.flatpages'`` to your INSTALLED_APPS_ setting.
|
||||
3. Add ``'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware'``
|
||||
to your MIDDLEWARE_CLASSES_ setting.
|
||||
3. Run the command ``manage.py syncdb``.
|
||||
4. Run the command ``manage.py syncdb``.
|
||||
|
||||
.. _sites framework: ../sites/
|
||||
.. _INSTALLED_APPS: ../settings/#installed-apps
|
||||
|
Loading…
Reference in New Issue
Block a user