#2678: [patch] Move the list of profanities for the hasNoProfanities validator
to
the settings file
------------------------+---------------------------------------------------
Reporter: mcroydon | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Validators | Version: SVN
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by adrian):
Good idea. This patch looks fine, with one exception:
{{{PROFANITIES_LIST}}} should be defined in global_settings.py, rather
than having the comment code call {{{if hasattr(settings,
"PROFANITIES_LIST")}}}. I'll take care of this and check it in.
--
Ticket URL: <http://code.djangoproject.com/ticket/2678>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---