From 9bfdb4c2484b5f9a5074b6763aaea27e937d09bc Mon Sep 17 00:00:00 2001 From: Laurent Date: Mon, 20 Apr 2020 14:34:48 +0200 Subject: [PATCH] Update post form --- news/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/news/forms.py b/news/forms.py index bcfda52..9d00f8e 100644 --- a/news/forms.py +++ b/news/forms.py @@ -10,7 +10,7 @@ from datetime import datetime, date, time, timedelta class PostForm(forms.Form): style = forms.ChoiceField(label='Style',choices=STYLE_CHOICES, required=True) - title = forms.CharField(label='Title (required for slug/SEO)', max_length=200, required=True) + title = forms.CharField(label='Title (required for slug/SEO)', max_length=500, required=True) url = forms.CharField(label='URL', max_length=200, required=False) body = forms.CharField(label='Body (optional)', max_length=10000, required=False)