summaryrefslogtreecommitdiff
path: root/ishtar_common/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2013-04-11 16:18:12 +0000
committerÉtienne Loks <etienne.loks@proxience.com>2013-04-11 16:18:12 +0000
commit5a8f66d8349b00812a4a8b55317688a7832a10a3 (patch)
tree1bdc68eac5c81c5bfafe287a659266ee8ad33d69 /ishtar_common/forms.py
parent176b0ebae664c68a2c25edf2823aad589953b2bc (diff)
parent135a2370cfef4f3faea88cc6a1ab3f1eb797013d (diff)
downloadIshtar-5a8f66d8349b00812a4a8b55317688a7832a10a3.tar.bz2
Ishtar-5a8f66d8349b00812a4a8b55317688a7832a10a3.zip
Merge branch 'master' of lysithea.proxience.net:/home/proxience/git/ishtar
Diffstat (limited to 'ishtar_common/forms.py')
-rw-r--r--ishtar_common/forms.py2
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')