diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-04-11 17:12:19 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-04-11 17:12:19 +0200 |
commit | af94590c1865a9e293872b8275f8c3e2ad163189 (patch) | |
tree | d2b86c6fdefc2bce5dfa3641a0fe4ef8c852a00f /ishtar_common/forms.py | |
parent | 8302cf66364af91bb147ddd9148475cf35800d0c (diff) | |
download | Ishtar-af94590c1865a9e293872b8275f8c3e2ad163189.tar.bz2 Ishtar-af94590c1865a9e293872b8275f8c3e2ad163189.zip |
More tolerent name checking (closes #560)
Diffstat (limited to 'ishtar_common/forms.py')
-rw-r--r-- | ishtar_common/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py index cb007442e..4477213c9 100644 --- a/ishtar_common/forms.py +++ b/ishtar_common/forms.py @@ -59,7 +59,7 @@ import widgets reverse_lazy = lazy(reverse, unicode) -regexp_name = re.compile(r'^[\w\- ]+$', re.UNICODE) +regexp_name = re.compile(r"^[,:/\w\-'\"() \&\[\]@]+$", re.UNICODE) name_validator = validators.RegexValidator(regexp_name, _(u"Enter a valid name consisting of letters, spaces and hyphens."), 'invalid') |