mirror of
https://github.com/django/django.git
synced 2025-01-03 06:55:47 +00:00
Removed unnecessary empty parentheses in class definitions.
This commit is contained in:
parent
081e787160
commit
fa283067c9
@ -9,7 +9,7 @@ from .models import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class Nested():
|
class Nested:
|
||||||
class Field(models.Field):
|
class Field(models.Field):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@ -339,7 +339,7 @@ class ModelPaginationTests(TestCase):
|
|||||||
Unordered object list warning with an object that has an orderd
|
Unordered object list warning with an object that has an orderd
|
||||||
attribute but not a model attribute.
|
attribute but not a model attribute.
|
||||||
"""
|
"""
|
||||||
class ObjectList():
|
class ObjectList:
|
||||||
ordered = False
|
ordered = False
|
||||||
object_list = ObjectList()
|
object_list = ObjectList()
|
||||||
with warnings.catch_warnings(record=True) as warns:
|
with warnings.catch_warnings(record=True) as warns:
|
||||||
|
Loading…
Reference in New Issue
Block a user