Ticket #2319: viewonsiteclarification.diff

File viewonsiteclarification.diff, 698 bytes (added by DavidReynolds, 7 years ago)

Documentation clarification for view on site, within Sites.

  • docs/sites.txt

     
    314314      view passes the current ``Site`` name to the template as ``{{{ site_name }}}``.
    315315
    316316    * The shortcut view (``django.views.defaults.shortcut``) uses the domain of
    317       the current ``Site`` object when calculating an object's URL.
     317      the current ``Site`` object when calculating an object's URL. This is
     318      also used in the object-editing page of the admin interface, if the
     319      object defines ``get_absolute_url()`.
    318320
    319321.. _redirects framework: ../redirects/
    320322.. _flatpages framework: ../flatpages/
Back to Top