| |
---|
| | choosable_domains = [("",_("Choose a Domain"))] |
---|
| | for domain in c.domains: |
---|
| | choosable_domains.append((domain.mail_host, |
---|
| | domain.mail_host)) |
---|
| | form = ListNew(choosable_domains, request.POST) |
---|
| | form = ListNew(choosable_domains,None, request.POST) |
---|
| | |
---|
| | if form.is_valid(): |
---|
| | #grab domain |
---|
| | domain = c.get_domain(form.cleaned_data['mail_host']) |
---|
| |
---|
| | |
|