changeset 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 3e1905e523be
children b77acb1b6a8a
files messages/forms.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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):