Django

Code

Ticket #6287: braces.diff

File braces.diff, 1.0 kB (added by Horst Gutmann <zerok@zerokspot.com>, 1 year ago)
  • sites.txt

    old new  
    330330      retrieving flatpages to display. 
    331331 
    332332    * In the `syndication framework`_, the templates for ``title`` and 
    333       ``description`` automatically have access to a variable ``{{{ site }}}``, 
     333      ``description`` automatically have access to a variable ``{{ site }}``, 
    334334      which is the ``Site`` object representing the current site. Also, the 
    335335      hook for providing item URLs will use the ``domain`` from the current 
    336336      ``Site`` object if you don't specify a fully-qualified domain. 
    337337 
    338338    * In the `authentication framework`_, the ``django.contrib.auth.views.login`` 
    339       view passes the current ``Site`` name to the template as ``{{{ site_name }}}``. 
     339      view passes the current ``Site`` name to the template as ``{{ site_name }}``. 
    340340 
    341341    * The shortcut view (``django.views.defaults.shortcut``) uses the domain of 
    342342      the current ``Site`` object when calculating an object's URL.