PEP8 cleanups, add missing imports

This commit is contained in:
Roberto Rosario
2014-06-25 15:46:30 -04:00
parent 3ec31a890e
commit 20fa4a543d
11 changed files with 51 additions and 57 deletions

View File

@@ -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