Coverage for apis_core/apis_metainfo/forms.py: 0%

7 statements  

« prev     ^ index     » next       coverage.py v7.6.8, created at 2024-12-20 09:24 +0000

1from apis_core.generic.forms import GenericModelForm 

2 

3 

4class UriForm(GenericModelForm): 

5 def __init__(self, *args, **kwargs): 

6 super().__init__(*args, **kwargs) 

7 self.helper.form_class = "form-horizontal" 

8 self.helper.label_class = "col-md-3" 

9 self.helper.field_class = "col-md-9"