File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -626,7 +626,7 @@ def save(self, **_): # pylint: disable=arguments-differ
626
626
return redirect
627
627
628
628
629
- class DomainForm (forms .ModelForm ):
629
+ class DomainBaseForm (forms .ModelForm ):
630
630
631
631
"""Form to configure a custom domain name for a project."""
632
632
@@ -638,7 +638,7 @@ class Meta(object):
638
638
639
639
def __init__ (self , * args , ** kwargs ):
640
640
self .project = kwargs .pop ('project' , None )
641
- super (DomainForm , self ).__init__ (* args , ** kwargs )
641
+ super (DomainBaseForm , self ).__init__ (* args , ** kwargs )
642
642
643
643
def clean_project (self ):
644
644
return self .project
@@ -662,6 +662,10 @@ def clean_canonical(self):
662
662
return canonical
663
663
664
664
665
+ class DomainForm (SettingsOverrideObject ):
666
+ _default_class = DomainBaseForm
667
+
668
+
665
669
class IntegrationForm (forms .ModelForm ):
666
670
667
671
"""
You can’t perform that action at this time.
0 commit comments