Преглед на файлове

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

Tim Graham преди 10 години
родител
ревизия
a76aab3583
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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