Fixed #21298 -- Fixed E301 pep8 warnings

This commit is contained in:
Alasdair Nicol 2013-10-22 11:21:07 +01:00
parent 317040a73b
commit c3aa2948c6
83 changed files with 180 additions and 2 deletions

View file

@ -26,6 +26,7 @@ from .models import (Article, ArticleStatus, BetterWriter, BigInt, Book,
if test_images:
from .models import ImageFile, OptionalImageFile
class ImageFileForm(forms.ModelForm):
class Meta:
model = ImageFile
@ -208,6 +209,7 @@ class ModelFormWithMedia(forms.ModelForm):
css = {
'all': ('/some/form/css',)
}
class Meta:
model = TextFile
fields = '__all__'
@ -1722,6 +1724,7 @@ class OldFormForXTests(TestCase):
class CategoryForm(forms.ModelForm):
description = forms.CharField()
class Meta:
model = Category
fields = ['description', 'url']