diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-06-10 14:41:35 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-06-10 14:41:35 +0200 |
commit | d252771f7152a649f6c7ce62da2c22e465d795a8 (patch) | |
tree | 6bbeb1934cda0ef6ac4b4e8ce48ddb4fe55aeada /pyaggr3g470r/forms.py | |
parent | Not writing JSON file when importing an account. (diff) | |
download | newspipe-d252771f7152a649f6c7ce62da2c22e465d795a8.tar.gz newspipe-d252771f7152a649f6c7ce62da2c22e465d795a8.tar.bz2 newspipe-d252771f7152a649f6c7ce62da2c22e465d795a8.zip |
fixes #7
Diffstat (limited to 'pyaggr3g470r/forms.py')
-rw-r--r-- | pyaggr3g470r/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |