# HG changeset patch # User Mads Kiilerich # Date 2015-03-31 01:17:37 # Node ID afc5b51bba18e4f0fdfa315ff8b685365b1d3630 # Parent 98a02b20c75114ec5a8cd41ed691f2cdb1248d8a gists: use allow_extra_fields and filter_extra_fields in gist forms like in most other forms diff --git a/kallithea/model/forms.py b/kallithea/model/forms.py --- a/kallithea/model/forms.py +++ b/kallithea/model/forms.py @@ -512,6 +512,8 @@ def PullRequestPostForm(): def GistForm(lifetime_options): class _GistForm(formencode.Schema): + allow_extra_fields = True + filter_extra_fields = True filename = All(v.BasePath()(), v.UnicodeString(strip=True, required=False))