Fixed #23324 -- Mentioned Site.id in contrib.sites docs.

This commit is contained in:
Tim Graham 2014-08-22 12:56:38 -04:00
parent b7336ec179
commit a76aab3583
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ The sites framework is mainly based on a simple model:
A model for storing the ``domain`` and ``name`` attributes of a Web site. A model for storing the ``domain`` and ``name`` attributes of a Web site.
The :setting:`SITE_ID` setting specifies the database ID of the The :setting:`SITE_ID` setting specifies the database ID of the
:class:`~django.contrib.sites.models.Site` object associated with that :class:`~django.contrib.sites.models.Site` object (accessible using
the automatically added ``id`` attribute) associated with that
particular settings file. particular settings file.
.. attribute:: domain .. attribute:: domain