summaryrefslogtreecommitdiff
path: root/tests/admin_views/models.py
diff options
context:
space:
mode:
authorAlasdair Nicol <alasdair@thenicols.net>2013-10-20 00:33:10 +0100
committerTim Graham <timograham@gmail.com>2013-10-21 08:31:30 -0400
commitb289fcf1bfeaa717ed465b2529a275b61dc02d92 (patch)
tree1b43958bb74005ccb93f3cd12ce4bc13d9747ab2 /tests/admin_views/models.py
parenta3690168cbde5e7bee16443569ad3dedd2466af7 (diff)
Fixed #21288 -- Fixed E126 pep8 warnings
Diffstat (limited to 'tests/admin_views/models.py')
-rw-r--r--tests/admin_views/models.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/admin_views/models.py b/tests/admin_views/models.py
index 0f16fdb81e..e3e6ecb520 100644
--- a/tests/admin_views/models.py
+++ b/tests/admin_views/models.py
@@ -169,10 +169,9 @@ class Sketch(models.Model):
class Fabric(models.Model):
NG_CHOICES = (
('Textured', (
- ('x', 'Horizontal'),
- ('y', 'Vertical'),
- )
- ),
+ ('x', 'Horizontal'),
+ ('y', 'Vertical'),
+ )),
('plain', 'Smooth'),
)
surface = models.CharField(max_length=20, choices=NG_CHOICES)
@@ -390,8 +389,8 @@ class Post(models.Model):
title = models.CharField(max_length=100, help_text="Some help text for the title (with unicode ŠĐĆŽćžšđ)")
content = models.TextField(help_text="Some help text for the content (with unicode ŠĐĆŽćžšđ)")
posted = models.DateField(
- default=datetime.date.today,
- help_text="Some help text for the date (with unicode ŠĐĆŽćžšđ)"
+ default=datetime.date.today,
+ help_text="Some help text for the date (with unicode ŠĐĆŽćžšđ)"
)
public = models.NullBooleanField()