diff messages/forms.py @ 741:9aae4f99f062

Django 1.6: ModelForms should use either fields or exclude.
author Brian Neal <bgneal@gmail.com>
date Sun, 29 Dec 2013 13:20:07 -0600
parents ee87ea74d46b
children 95b3d59913ad
line wrap: on
line diff
--- a/messages/forms.py	Sun Dec 29 12:57:03 2013 -0600
+++ b/messages/forms.py	Sun Dec 29 13:20:07 2013 -0600
@@ -110,6 +110,7 @@
 class OptionsForm(forms.ModelForm):
     class Meta:
         model = Options
+        fields = ['attach_signature', 'notify_email']
 
 
 def notify_receiver(new_msg):