#28471 closed Cleanup/optimization (fixed)
Clarify the documentation about the relationship between model meta "index_together" and "indexes" using Index() classes
Reported by: | Philippe Ombredanne | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.11 |
Severity: | Normal | Keywords: | documentation, index, index_together |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Both are documented side by side with no indication of what is the difference of preferred way to use (especially since per #27236 "index_together" may be deprecated in the future).
The documentation should be enhanced to clarify which to use preferrably and what are the differences if any.
Change History (4)
comment:1 by , 7 years ago
Component: | Database layer (models, ORM) → Documentation |
---|---|
Easy pickings: | unset |
Triage Stage: | Unreviewed → Accepted |
Type: | Bug → Cleanup/optimization |
comment:2 by , 7 years ago
Note:
See TracTickets
for help on using tickets.
Created a pull request adding more clarity to the documentation: https://github.com/django/django/pull/8863