summaryrefslogtreecommitdiff
path: root/tests/model_forms
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-09-03 14:22:21 -0400
committerTim Graham <timograham@gmail.com>2013-09-03 14:22:21 -0400
commit5649c0af9d90ba1368abbe6c233ee61c976c8137 (patch)
tree78df445094924d3ed21a236c694c503d3cc723f3 /tests/model_forms
parentcb98ffe8f45d77a7e892fbb80b47de999062dc74 (diff)
Fixed "indentation is not a multiple of four" pep8 issues.
Diffstat (limited to 'tests/model_forms')
-rw-r--r--tests/model_forms/tests.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py
index 1404725484..12f7dfcfa0 100644
--- a/tests/model_forms/tests.py
+++ b/tests/model_forms/tests.py
@@ -88,11 +88,11 @@ class DerivedPostForm(forms.ModelForm):
class CustomWriterForm(forms.ModelForm):
- name = forms.CharField(required=False)
+ name = forms.CharField(required=False)
- class Meta:
- model = Writer
- fields = '__all__'
+ class Meta:
+ model = Writer
+ fields = '__all__'
class FlexDatePostForm(forms.ModelForm):
@@ -456,11 +456,11 @@ class ModelFormBaseTest(TestCase):
def test_subclassmeta_form(self):
class SomeCategoryForm(forms.ModelForm):
- checkbox = forms.BooleanField()
+ checkbox = forms.BooleanField()
- class Meta:
- model = Category
- fields = '__all__'
+ class Meta:
+ model = Category
+ fields = '__all__'
class SubclassMeta(SomeCategoryForm):
""" We can also subclass the Meta inner class to change the fields