Django

Code

Changeset 2785

Show
Ignore:
Timestamp:
04/28/06 20:59:25 (2 years ago)
Author:
adrian
Message:

magic-removal: Proofread docs/redirects.txt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/magic-removal/docs/redirects.txt

    r2608 r2785  
    99============ 
    1010 
    11 To install the redirects app, follow these two steps: 
     11To install the redirects app, follow these steps: 
    1212 
    13     1. Add ``"django.contrib.redirects"`` to your INSTALLED_APPS_ setting. 
    14     2. Add ``"django.contrib.redirects.middleware.RedirectFallbackMiddleware"`` 
     13    1. Add ``'django.contrib.redirects'`` to your INSTALLED_APPS_ setting. 
     14    2. Add ``'django.contrib.redirects.middleware.RedirectFallbackMiddleware'`` 
    1515       to your MIDDLEWARE_CLASSES_ setting. 
    16     3. Run the command ``django-admin.py install redirects``. 
     16    3. Run the command ``manage.py syncdb``. 
    1717 
    1818.. _INSTALLED_APPS: http://www.djangoproject.com/documentation/settings/#installed-apps 
     
    2222============ 
    2323 
    24 ``django-admin.py install redirects`` creates a ``django_redirect`` table in 
    25 your database. This is a simple lookup table with ``site_id``, ``old_path`` and 
    26 ``new_path`` fields. 
     24``manage.py syncdb`` creates a ``django_redirect`` table in your database. This 
     25is a simple lookup table with ``site_id``, ``old_path`` and ``new_path`` fields. 
    2726 
    2827The ``RedirectFallbackMiddleware`` does all of the work. Each time any Django