diff options
Diffstat (limited to 'tests/admin_views/models.py')
| -rw-r--r-- | tests/admin_views/models.py | 11 |
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() |
