~mailman-coders/postorius/trunk

« back to all changes in this revision

Viewing changes to src/postorius/views/settings.py

  • Committer: Terri Oda
  • Date: 2015-04-15 20:16:59 UTC
  • mfrom: (222.1.1 domain_owner)
  • Revision ID: terri@zone12.com-20150415201659-ibbwzcldps2vo71y
Merging Abhilash Raj's code to remove the contact_address for domains, as it is no longer used.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
        if form.is_valid():
73
73
            domain = Domain(mail_host=form.cleaned_data['mail_host'],
74
74
                            base_url=form.cleaned_data['web_host'],
75
 
                            description=form.cleaned_data['description'])
 
75
                            description=form.cleaned_data['description'],
 
76
                            owner=request.user.email)
76
77
            try:
77
78
                domain.save()
78
79
            except MailmanApiError: