mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-24 06:48:35 +02:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user