mirror of
https://github.com/django/django.git
synced 2025-03-12 10:22:37 +00:00
Two whitespace changes to appease flake8
This commit is contained in:
parent
4f7b7ef683
commit
a8a5c31966
@ -485,6 +485,7 @@ class OperationTests(MigrationTestBase):
|
|||||||
Pony = models.get_model("test_runpython", "Pony")
|
Pony = models.get_model("test_runpython", "Pony")
|
||||||
Pony.objects.create(pink=1, weight=3.55)
|
Pony.objects.create(pink=1, weight=3.55)
|
||||||
Pony.objects.create(weight=5)
|
Pony.objects.create(weight=5)
|
||||||
|
|
||||||
def inner_method_reverse(models, schema_editor):
|
def inner_method_reverse(models, schema_editor):
|
||||||
Pony = models.get_model("test_runpython", "Pony")
|
Pony = models.get_model("test_runpython", "Pony")
|
||||||
Pony.objects.filter(pink=1, weight=3.55).delete()
|
Pony.objects.filter(pink=1, weight=3.55).delete()
|
||||||
@ -517,7 +518,6 @@ class OperationTests(MigrationTestBase):
|
|||||||
no_reverse_operation.database_backwards("test_runpython", editor, new_state, project_state)
|
no_reverse_operation.database_backwards("test_runpython", editor, new_state, project_state)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class MigrateNothingRouter(object):
|
class MigrateNothingRouter(object):
|
||||||
"""
|
"""
|
||||||
A router that sends all writes to the other database.
|
A router that sends all writes to the other database.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user