Don't specify lastmail when creating new patches :O
authorMagnus Hagander <magnus@hagander.net>
Sun, 18 Aug 2013 17:15:47 +0000 (19:15 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sun, 18 Aug 2013 17:15:47 +0000 (19:15 +0200)
pgcommitfest/commitfest/forms.py

index 2a70cc82baf7df79fc412b038298950a8a53f24a..78219c3ccdc9a6de23ec50b55798997212928308 100644 (file)
@@ -52,7 +52,7 @@ class NewPatchForm(forms.ModelForm):
 
        class Meta:
                model = Patch
-               exclude = ('commitfests', 'mailthreads', 'modified', 'authors', 'reviewers', 'committer', 'wikilink', 'gitlink', )
+               exclude = ('commitfests', 'mailthreads', 'modified', 'authors', 'reviewers', 'committer', 'wikilink', 'gitlink', 'lastmail', )
 
 def _fetch_thread_choices(patch):
        for mt in patch.mailthread_set.order_by('-latestmessage'):