1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed all E261 warnings

This commit is contained in:
coagulant
2013-11-03 01:02:56 +04:00
committed by Jason Myers
parent c3791463a5
commit 8eec2d93b6
152 changed files with 630 additions and 630 deletions

View File

@@ -51,7 +51,7 @@ class TestAdminOrdering(TestCase):
it actually changes.
"""
class BandAdmin(ModelAdmin):
ordering = ('rank',) # default ordering is ('name',)
ordering = ('rank',) # default ordering is ('name',)
ma = BandAdmin(Band, None)
names = [b.name for b in ma.get_queryset(request)]
self.assertEqual(['Radiohead', 'Van Halen', 'Aerosmith'], names)