Skip to content

Commit f70f12d

Browse files
committed
a few style changes
1 parent 3c1f67f commit f70f12d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

graphene_django/tests/models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Reporter(models.Model):
3838
'Reporter Type',
3939
null=True,
4040
blank=True,
41-
choices=[(1, u'Regular'), (2, u'CNN Reporter')])
41+
choices=[(1, u'Regular'), (2, u'CNN Reporter')] )
4242

4343
def __str__(self): # __unicode__ on Python 2
4444
return "%s %s" % (self.first_name, self.last_name)
@@ -47,8 +47,8 @@ def __init__(self, *args, **kwargs):
4747
"""
4848
Override the init method so that during runtime, Django
4949
can know that this object can be a CNNReporter by casting
50-
it to the proxy model. Otherwise, as far as Django knows,
51-
when a CNNReporter is pulled from the database, it is still
50+
it to the proxy model. Otherwise, as far as Django knows,
51+
when a CNNReporter is pulled from the database, it is still
5252
of type Reporter. This was added to test proxy model support.
5353
"""
5454
super(Reporter, self).__init__(*args, **kwargs)
@@ -61,7 +61,7 @@ class CNNReporter(Reporter):
6161
proxy model support
6262
"""
6363
class Meta:
64-
proxy=True
64+
proxy = True
6565

6666

6767
class Article(models.Model):

0 commit comments

Comments
 (0)