fix for saving header2
remotes/origin/stage5
Alexander Burdeiny 10 years ago
parent d4783f1528
commit f0aae9af01
  1. 2
      emencia/django/newsletter/admin_forms.py

@ -193,7 +193,7 @@ class NewsletterForm(forms.ModelForm):
if self.instance.pk and self.instance.ab_testing and self.instance.ab_final_stage: if self.instance.pk and self.instance.ab_testing and self.instance.ab_final_stage:
self._meta.fields = ( self._meta.fields = (
'preheader', 'title', 'content', 'ab_testing', 'preheader', 'title', 'content', 'ab_testing',
'ab_first_stage', 'title2', 'content2', 'mailing_list', 'ab_first_stage', 'preheader2', 'title2', 'content2', 'mailing_list',
'theme_for_filter', 'test_contacts', 'header_sender', 'theme_for_filter', 'test_contacts', 'header_sender',
'header_reply', 'ab_final_choice', 'status', 'sending_date', 'header_reply', 'ab_final_choice', 'status', 'sending_date',
'slug') 'slug')

Loading…
Cancel
Save