Ticket #21567: 21567.diff

File 21567.diff, 643 bytes (added by Tim Graham, 10 years ago)
  • docs/ref/contrib/sites.txt

    diff --git a/docs/ref/contrib/sites.txt b/docs/ref/contrib/sites.txt
    index cea1a44..b17f827 100644
    a b To enable the sites framework, follow these steps:  
    260260
    2612613. Run :djadmin:`migrate`.
    262262
     263In order to serve multiple sites in production, you'd create a separate settings
     264file with each ``SITE_ID`` and deploy each settings file as you would a normal
     265Django site.
     266
    263267``django.contrib.sites`` registers a
    264268:data:`~django.db.models.signals.post_migrate` signal handler which creates a
    265269default site named ``example.com`` with the domain ``example.com``. This site
Back to Top