Django

Code

Changeset 6982

Show
Ignore:
Timestamp:
01/01/08 23:01:54 (9 months ago)
Author:
adrian
Message:

Fixed #6287 -- Fixed typos in docs/sites.txt. Thanks, arien and Horst Gutmann

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/sites.txt

    r6180 r6982  
    9898 
    9999On a lower level, you can use the sites framework in your Django views to do 
    100 particular things based on what site in which the view is being called. 
     100particular things based on the site in which the view is being called. 
    101101For example:: 
    102102 
     
    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 
     
    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