Ticket #6290: profanedocpatch.diff

File profanedocpatch.diff, 702 bytes (added by programmerq, 8 years ago)

Initial doc patch

  • docs/add_ons.txt

    Examples (when 'today' is 17 Feb 2007): 
    173173
    174174.. _DATE_FORMAT: ../settings/#date_format
    175175
    176 profanity
    177 ---------
    178 
    179 **New in Django development version**
    180 
    181 Remove profanity, replacing it with stars or symbols. This uses the
    182 ``PROFANE_WORDS`` setting either from your settings.py or
    183 global_settings.py.
    184 
    185 The optional argument can be ``'symbol'`` or ``'star'``. Anything else is
    186 ignored and the default behaviour is assumed. ``'symbol'`` will make the
    187 profane words be replaced from a random string of symbols: #^@!@* while the
    188 default mode just replaces them with asterisks: ******
    189 
    190176localflavor
    191177===========
    192178
Back to Top