Просмотр исходного кода

Removed silly restriction on number of chars in a page URL

master
David Winterbottom 13 лет назад
Родитель
Сommit
d686f2ae56
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      oscar/apps/dashboard/pages/forms.py

+ 1
- 1
oscar/apps/dashboard/pages/forms.py Просмотреть файл

@@ -19,7 +19,7 @@ class PageUpdateForm(forms.ModelForm):
19 19
     and *content* field. The specified URL will be validated and check if
20 20
     the same URL already exists in the system.
21 21
     """
22
-    url = forms.CharField(max_length=20, required=False,
22
+    url = forms.CharField(max_length=128, required=False,
23 23
                           help_text="Example: '/about/contact/'. Make sure" + \
24 24
                                     " to have leading and trailing slashes.")
25 25
 

Загрузка…
Отмена
Сохранить