From bbf0a9545bd098f09aeb0c2fb63497eb0ddf13ad Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 30 Jun 2014 18:47:53 -0400 Subject: [PATCH] Fixed #22482 -- Recommended using data migrations in contrib.sites docs. Thanks scibi for the report. --- docs/ref/contrib/sites.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/contrib/sites.txt b/docs/ref/contrib/sites.txt index efb85f26985..cea1a441da7 100644 --- a/docs/ref/contrib/sites.txt +++ b/docs/ref/contrib/sites.txt @@ -264,8 +264,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 `. +correct name and domain for your project, you can use a :ref:`data migration +`. Caching the current ``Site`` object ===================================