Django

Code

Changeset 6191

Show
Ignore:
Timestamp:
09/14/07 11:40:42 (1 year ago)
Author:
russellm
Message:

Fixed #5455 -- Fixed some backticks, quotes and typos in the settings documentation. Thanks, akaihola.

Files:

Legend:

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

    r6008 r6191  
    326326`allowed date format strings`_. 
    327327 
    328 See also DATETIME_FORMAT, TIME_FORMAT, YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT. 
     328See also ``DATETIME_FORMAT``, ``TIME_FORMAT``, ``YEAR_MONTH_FORMAT`` 
     329and ``MONTH_DAY_FORMAT``. 
    329330 
    330331.. _allowed date format strings: ../templates/#now 
     
    339340`allowed date format strings`_. 
    340341 
    341 See also DATE_FORMAT, DATETIME_FORMAT, TIME_FORMAT, YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT. 
     342See also ``DATE_FORMAT``, ``DATETIME_FORMAT``, ``TIME_FORMAT``, 
     343``YEAR_MONTH_FORMAT`` and ``MONTH_DAY_FORMAT``. 
    342344 
    343345.. _allowed date format strings: ../templates/#now 
     
    351353 
    352354If you define custom settings, django/views/debug.py has a ``HIDDEN_SETTINGS`` 
    353 regular expression which will hide from the DEBUG view anything that contins 
    354 ``'SECRET``, ``PASSWORD``, or ``PROFANITIES'``. This allows untrusted users to 
     355regular expression which will hide from the DEBUG view anything that contains 
     356``'SECRET'``, ``'PASSWORD'``, or ``'PROFANITIES'``. This allows untrusted users to 
    355357be able to give backtraces without seeing sensitive (or offensive) settings. 
    356358 
     
    657659"January 1," whereas Spanish might say "1 Enero." 
    658660 
    659 See `allowed date format strings`_. See also DATE_FORMAT, DATETIME_FORMAT
    660 TIME_FORMAT and YEAR_MONTH_FORMAT
     661See `allowed date format strings`_. See also ``DATE_FORMAT``
     662``DATETIME_FORMAT``, ``TIME_FORMAT`` and ``YEAR_MONTH_FORMAT``
    661663 
    662664PREPEND_WWW 
     
    816818you'll want to set that to take advantage of this setting. 
    817819 
    818 See also DEBUG
     820See also ``DEBUG``
    819821 
    820822TEMPLATE_DIRS 
     
    906908`allowed date format strings`_. 
    907909 
    908 See also DATE_FORMAT, DATETIME_FORMAT, TIME_FORMAT, YEAR_MONTH_FORMAT and 
    909 MONTH_DAY_FORMAT
     910See also ``DATE_FORMAT``, ``DATETIME_FORMAT``, ``TIME_FORMAT``, 
     911``YEAR_MONTH_FORMAT`` and ``MONTH_DAY_FORMAT``
    910912 
    911913.. _allowed date format strings: ../templates/#now 
     
    981983"January 2006," whereas another locale might say "2006/January." 
    982984 
    983 See `allowed date format strings`_. See also DATE_FORMAT, DATETIME_FORMAT
    984 TIME_FORMAT and MONTH_DAY_FORMAT
     985See `allowed date format strings`_. See also ``DATE_FORMAT``
     986``DATETIME_FORMAT``, ``TIME_FORMAT`` and ``MONTH_DAY_FORMAT``
    985987 
    986988.. _cache docs: ../cache/