mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #27236 -- Removed Meta.index_together per deprecation timeline.
This commit is contained in:
@@ -269,7 +269,6 @@ class OperationTestBase(MigrationTestBase):
|
||||
unique_together=False,
|
||||
options=False,
|
||||
db_table=None,
|
||||
index_together=False, # RemovedInDjango51Warning.
|
||||
constraints=None,
|
||||
indexes=None,
|
||||
):
|
||||
@@ -277,8 +276,6 @@ class OperationTestBase(MigrationTestBase):
|
||||
# Make the "current" state.
|
||||
model_options = {
|
||||
"swappable": "TEST_SWAP_MODEL",
|
||||
# RemovedInDjango51Warning.
|
||||
"index_together": [["weight", "pink"]] if index_together else [],
|
||||
"unique_together": [["pink", "weight"]] if unique_together else [],
|
||||
}
|
||||
if options:
|
||||
|
||||
Reference in New Issue
Block a user