From d252771f7152a649f6c7ce62da2c22e465d795a8 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 10 Jun 2014 14:41:35 +0200 Subject: fixes #7 --- pyaggr3g470r/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyaggr3g470r/forms.py') diff --git a/pyaggr3g470r/forms.py b/pyaggr3g470r/forms.py index d745154b..5e977071 100644 --- a/pyaggr3g470r/forms.py +++ b/pyaggr3g470r/forms.py @@ -80,8 +80,8 @@ class SigninForm(Form): return False class AddFeedForm(Form): - title = TextField(lazy_gettext("Title"), [validators.Required(lazy_gettext("Please enter a title."))]) - link = TextField(lazy_gettext("Feed link"), [validators.Required(lazy_gettext("Please enter a link for the feed."))]) + title = TextField(lazy_gettext("Title"), [validators.Optional()]) + link = TextField(lazy_gettext("Feed link"), [validators.Optional()]) site_link = TextField(lazy_gettext("Site link")) email_notification = BooleanField(lazy_gettext("Email notification"), default=False) enabled = BooleanField(lazy_gettext("Check for updates"), default=True) -- cgit