From: Radek Czajka Date: Wed, 15 Sep 2010 08:11:41 +0000 (+0200) Subject: Merge branch 'master' into production X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/5eb6cec012d33fb46914d7edeeaa12132175bb47?hp=77296ed5c989a89dfbf9b06bcb6097d07edf76c2 Merge branch 'master' into production --- diff --git a/apps/wiki/forms.py b/apps/wiki/forms.py index e48c5eae..d5c0ed54 100644 --- a/apps/wiki/forms.py +++ b/apps/wiki/forms.py @@ -23,7 +23,7 @@ class DocumentCreateForm(forms.Form): Form used for creating new documents. """ title = forms.CharField() - id = forms.RegexField(regex=ur"^[\wąćęłńóśźżĄĆĘŁŃÓŚŹŻ]+$") + id = forms.RegexField(regex=ur"^[-\wąćęłńóśźżĄĆĘŁŃÓŚŹŻ]+$") file = forms.FileField(required=False) text = forms.CharField(required=False, widget=forms.Textarea)