Generic transport editor. (#1309)

Generic transport editor.

see #1301

* Fixed unit test.

* Added unit tests.

* Fixed unit test.

* Added transport module to test list.

* Moved relay transport backend to appropriate app.

see #1301

* Added missing file.
This commit is contained in:
Antoine Nguyen
2017-11-27 10:42:27 +01:00
committed by GitHub
parent 1129c94316
commit 98eea782a0
65 changed files with 1621 additions and 611 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ class DomainLimitsForm(forms.Form):
self.add_error(lname, _("Invalid limit"))
return cleaned_data
def save(self, user):
def save(self, user, **kwargs):
"""Set limits."""
for name, ltpl in utils.get_domain_limit_templates():
fieldname = "{}_limit".format(name)