diff options
| author | Tim Graham <timograham@gmail.com> | 2014-06-30 18:47:53 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-06-30 18:49:07 -0400 |
| commit | 8c7d2edd45cc1f1a9c5146e3be9716fbcfcbc826 (patch) | |
| tree | 6a915404eae1a464818f94e5caa0a76feff08f3c | |
| parent | c45fcd278b48b066ef03765c82005ba96183db09 (diff) | |
[1.7.x] Fixed #22482 -- Recommended using data migrations in contrib.sites docs.
Thanks scibi for the report.
Backport of bbf0a9545b from master
| -rw-r--r-- | docs/ref/contrib/sites.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/sites.txt b/docs/ref/contrib/sites.txt index a5f9786e76..556f2cb185 100644 --- a/docs/ref/contrib/sites.txt +++ b/docs/ref/contrib/sites.txt @@ -268,8 +268,8 @@ To enable the sites framework, follow these steps: :data:`~django.db.models.signals.post_migrate` signal handler which creates a default site named ``example.com`` with the domain ``example.com``. This site will also be created after Django creates the test database. To set the -correct name and domain for your project, you can use an :doc:`initial data -fixture </howto/initial-data>`. +correct name and domain for your project, you can use a :ref:`data migration +<data-migrations>`. Caching the current ``Site`` object =================================== |
