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 | | |