diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2017-12-28 21:07:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-28 21:07:29 +0100 |
| commit | 83a36ac49a98d5d8801ed8428612e9a56aeb8699 (patch) | |
| tree | 192e9bb3f114dad49ffacb17d51a8ecc9faed797 /tests/null_fk_ordering | |
| parent | 058d112ed2635873d415661bdf0fcc8752ec37c9 (diff) | |
Removed unnecessary trailing commas and spaces in various code.
Diffstat (limited to 'tests/null_fk_ordering')
| -rw-r--r-- | tests/null_fk_ordering/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/null_fk_ordering/models.py b/tests/null_fk_ordering/models.py index a7938cec54..368a47044e 100644 --- a/tests/null_fk_ordering/models.py +++ b/tests/null_fk_ordering/models.py @@ -18,10 +18,10 @@ class Article(models.Model): author = models.ForeignKey(Author, models.SET_NULL, null=True) def __str__(self): - return 'Article titled: %s' % (self.title, ) + return 'Article titled: %s' % self.title class Meta: - ordering = ['author__name', ] + ordering = ['author__name'] # These following 4 models represent a far more complex ordering case. |
