PEP8 cleanups, add missing imports
This commit is contained in:
@@ -17,8 +17,7 @@ class BootstrapSetupForm(forms.ModelForm):
|
||||
model = BootstrapSetup
|
||||
widgets = {
|
||||
'description': forms.widgets.Textarea(attrs={
|
||||
'rows': 5, 'cols': 80,
|
||||
}
|
||||
'rows': 5, 'cols': 80}
|
||||
)
|
||||
}
|
||||
|
||||
@@ -28,11 +27,11 @@ class BootstrapSetupForm_view(DetailForm):
|
||||
model = BootstrapSetup
|
||||
widgets = {
|
||||
'description': forms.widgets.Textarea(attrs={
|
||||
'rows': 5, 'cols': 80,
|
||||
}
|
||||
'rows': 5, 'cols': 80}
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
class BootstrapSetupForm_edit(BootstrapSetupForm):
|
||||
class Meta(BootstrapSetupForm.Meta):
|
||||
model = BootstrapSetup
|
||||
|
||||
Reference in New Issue
Block a user