Explorar o código

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

Tim Graham %!s(int64=10) %!d(string=hai) anos
pai
achega
a76aab3583
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      docs/ref/contrib/sites.txt

+ 2 - 1
docs/ref/contrib/sites.txt

@@ -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.
     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.
 
     .. attribute:: domain