Don't include "target version" on new patch form
authorMagnus Hagander <magnus@hagander.net>
Thu, 28 Feb 2019 11:24:23 +0000 (12:24 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 28 Feb 2019 11:24:23 +0000 (12:24 +0100)
pgcommitfest/commitfest/forms.py

index a3e5807ae0773c01dc6d205da7d0e03ced6fbac5..4d0430f9581e37d937c096df8924e7eddf8995f9 100644 (file)
@@ -61,7 +61,7 @@ class NewPatchForm(forms.ModelForm):
 
     class Meta:
         model = Patch
-        exclude = ('commitfests', 'mailthreads', 'modified', 'authors', 'reviewers', 'committer', 'wikilink', 'gitlink', 'lastmail', 'subscribers', )
+        fields = ('name', 'topic', )
 
     def clean_threadmsgid(self):
         try: