Add lastmail to fields excluded from editing
authorMagnus Hagander <magnus@hagander.net>
Sun, 18 Aug 2013 16:20:15 +0000 (18:20 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sun, 18 Aug 2013 16:20:15 +0000 (18:20 +0200)
pgcommitfest/commitfest/forms.py

index af7ed990a42078d17eeaaa0c4c3597044d51a842..2a70cc82baf7df79fc412b038298950a8a53f24a 100644 (file)
@@ -33,7 +33,7 @@ class CommitFestFilterForm(forms.Form):
 class PatchForm(forms.ModelForm):
        class Meta:
                model = Patch
-               exclude = ('commitfests', 'mailthreads', 'modified', )
+               exclude = ('commitfests', 'mailthreads', 'modified', 'lastmail', )
                widgets = {
                        'authors': AutoCompleteSelectMultipleWidget(lookup_class=UserLookup, position='top'),
                        'reviewers': AutoCompleteSelectMultipleWidget(lookup_class=UserLookup, position='top'),