summaryrefslogtreecommitdiff
path: root/django/db/models
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-05-05 09:26:51 +0200
committerGitHub <noreply@github.com>2023-05-05 09:26:51 +0200
commitca5d3c99efb1bcf181e923dcd00c4679ab6174ef (patch)
treedd8fc53100f472f7a814bf91e0e6a706b974cd01 /django/db/models
parent024954aad4c422a091b7afab42fff1a9d7478fce (diff)
downloaddjango-ca5d3c99efb1bcf181e923dcd00c4679ab6174ef.tar.gz
Refs #27236 -- Made more cosmetic edits to Meta.index_together deprecation.
Diffstat (limited to 'django/db/models')
-rw-r--r--django/db/models/options.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/django/db/models/options.py b/django/db/models/options.py
index be3d68f390..00735e0de1 100644
--- a/django/db/models/options.py
+++ b/django/db/models/options.py
@@ -43,8 +43,7 @@ DEFAULT_NAMES = (
"proxy",
"swappable",
"auto_created",
- # Must be kept for backward compatibility with old migrations.
- "index_together",
+ "index_together", # RemovedInDjango51Warning.
"apps",
"default_permissions",
"select_on_save",