Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2023-09-18 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  closed
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"2abf417c815c20f41c0868d6f66520b32347106e" 2abf417c]:
 {{{
 #!CommitTicketReference repository=""
 revision="2abf417c815c20f41c0868d6f66520b32347106e"
 Refs #27236 -- Removed Meta.index_together per deprecation timeline.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018aa9ec9634-ee97458a-5a9d-4c7a-9c14-c07de707beb2-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2023-05-05 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  closed
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by GitHub ):

 In [changeset:"ca5d3c99efb1bcf181e923dcd00c4679ab6174ef" ca5d3c9]:
 {{{
 #!CommitTicketReference repository=""
 revision="ca5d3c99efb1bcf181e923dcd00c4679ab6174ef"
 Refs #27236 -- Made more cosmetic edits to Meta.index_together
 deprecation.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187eacee387-7eacd5c8-7178-4147-8fb6-e186a7bc47bf-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-26 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  closed
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => fixed


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701823a12bae9-e878b127-3231-4269-92ac-83eab6c44275-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-26 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  new
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"66f30dbf253f89a3803aebbcee2675ce3e186b00" 66f30dbf]:
 {{{
 #!CommitTicketReference repository=""
 revision="66f30dbf253f89a3803aebbcee2675ce3e186b00"
 Refs #27236 -- Reverted "Refs #27236 -- Refactored out
 DeprecationForHistoricalMigrationMixin."

 This reverts commit 57793b47657ace966ce8ce96d801ac0d85e5efc6.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701823a120eed-bf843779-d16e-4aa8-9013-daea94e8f077-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-26 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  new
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"7e3c9c3205e9646261cea5e5a7af7ec0e806690a" 7e3c9c32]:
 {{{
 #!CommitTicketReference repository=""
 revision="7e3c9c3205e9646261cea5e5a7af7ec0e806690a"
 Refs #27236 -- Doc'd that AlterIndexTogether is no longer officially
 supported for Django 4.2+ migration files.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701823a120f11-948dcf14-86bb-47c4-b6d3-32f5eedec8db-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-26 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  new
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"c773d5794eb425c4836c726bdf6e1e742c94e9c0" c773d579]:
 {{{
 #!CommitTicketReference repository=""
 revision="c773d5794eb425c4836c726bdf6e1e742c94e9c0"
 Refs #27236 -- Reverted AlterIndexTogether deprecation.

 This partly reverts a6385b382e05a614a99e5a5913d8e631823159a2.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701823a120e7e-10d2f374-7a35-4418-81b7-1416661e111e-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-26 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  new
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"a1e9e9abc592b8f44fa798c6e4e225b1a04f757c" a1e9e9ab]:
 {{{
 #!CommitTicketReference repository=""
 revision="a1e9e9abc592b8f44fa798c6e4e225b1a04f757c"
 Refs #27236 -- Reverted "Refs #27236 -- Added generic mechanism to handle
 the deprecation of migration operations."

 This reverts commit 41019e48bbf082c985e6ba3bad34d118b903bff1.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701823a120eaa-e93c729d-2771-4b65-b5be-c973d86ea4a1-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-26 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  new
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Carlton Gibson):

 * stage:  Accepted => Ready for checkin


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018239dd793e-8a62ff4c-092b-464b-b3b1-9878b1bde4e7-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-20 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  new
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by GitHub ):

 In [changeset:"f81032572107846922745b68d5b7191058fdd5f5" f810325]:
 {{{
 #!CommitTicketReference repository=""
 revision="f81032572107846922745b68d5b7191058fdd5f5"
 Refs #27236 -- Made cosmetic edits to Meta.index_together deprecation.

 This should make it more straightforward to move forward when
 deprecation ends.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701821f260219-07d874aa-2dd0-4d62-bbed-93c55092b64a-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-20 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  new
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Collin Anderson):

 * cc: Collin Anderson (added)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701821c2a778c-b79ef897-eedd-48c5-ab54-647b6d674111-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-20 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  new
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak):

 Alternative [https://github.com/django/django/pull/15861 PR].

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701821a321abc-b11f013c-391d-4a77-bc23-f3d1ba1a982d-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-19 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  new
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak):

 I'm longer convinced that we have to deprecate and remove it. We can
 document that is supported only in pre-Django 4.2 migrations and will not
 receive any bugfixes in the future.

 Simon, What do you think?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701821a0dc48f-add4b4a1-9d2d-4730-977d-268717a679db-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-19 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  new
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Collin Anderson):

 I'm personally always in favor of keeping things fully functional forever,
 to reduce the amount of work that developers need to do, as long as it's
 easy enough to maintain ( https://groups.google.com/g/django-
 developers/c/zImXMKzWN4A/m/4SNu7MyFAQAJ ). If so, then there probably
 doesn't need to be a warning message at all, but certainly not for applied
 migrations, and no need for a deprecation timeline. Just discourage its
 use and move on. Again, as long as it's easy enough to maintain long-term.

 If functionality is getting removed or no-op'd in the future, then I'd
 suggest that yes there should be a warning (not just for un-applied
 migrations), and in my opinion the warning message should suggest an
 alternative or at least link to docs about this deprecation and how to fix
 it (AddIndex/RemoveIndex or something?) And, ideally it would be a type of
 change that could be automatically applied using django-codemod or django-
 upgrade, but that might be asking for too much.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018218325fcc-a2c0f352-5b14-4418-a300-7800f4f5f6da-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-19 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  new
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak):

 Alternatively, we can revert 57793b47657ace966ce8ce96d801ac0d85e5efc6,
 41019e48bbf082c985e6ba3bad34d118b903bff1, and partly
 a6385b382e05a614a99e5a5913d8e631823159a2 and leave `AlterIndexTogether`
 fully functional forever.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018217f5077c-31e6ccfa-1999-4737-b920-531f224681c1-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-19 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  new
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * status:  closed => new
 * has_patch:  1 => 0
 * resolution:  fixed =>
 * severity:  Normal => Release blocker
 * stage:  Ready for checkin => Accepted


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018216030e34-d2fa4982-cedb-4ad1-8e12-3e76a1d8f606-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-18 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  closed
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Simon Charette):

 * cc: Simon Charette (added)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018211d1c564-2b9b25fd-c7bd-4eb7-bd62-6a2e95f5e381-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-17 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  closed
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * cc: Carlton Gibson (added)


Comment:

 I think we need all three:
 - more descriptive release notes for `AlterIndexTogether`,
 - running checks only on unapplied migrations, and
 - reducing `AlterIndexTogether` with `RenameIndex`.

 Lots of folks don't recreate their databases so they won't have to do
 anything. As for the rest, we can document possible solutions, e.g.
 - squash migrations,
 - update the historical `CreateModel()` operation with
 `options={index_together=[...]}` with the current state of
 `index_together` (as long as all fields existed when the model was
 created),
 - replace `AlterIndexTogether` with `AddIndex`/`RemoveIndex`.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701820fa1b942-853ddb3b-b773-4be2-83ea-60b7f33a1dcc-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-15 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  closed
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Collin Anderson):

 > "run only on unapplied migrations"

 makes sense to me.

 > "Ultimately they'll have to squash their migrations before 5.1 if they
 want to avoid having their migration breaking"

 The deprecation warning/check says "Support for it (except in historical
 migrations) will be removed in Django 5.1", so that seems to say to me
 that it _won't_ be removed for historical migrations, and I as a developer
 don't need to worry about it for historical migrations.

 I'm mostly just providing feedback here on the wording. If Django wants me
 to do something to my project to fix this issue, it should tell me what I
 should do (like squash, or is there an alternative migration operation
 that I should use instead?). Or if I don't need to do anything then there
 shouldn't be a warning.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070182036b931e-1733a29b-e1be-4fc4-a125-3d812aef2a2d-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-15 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  closed
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Simon Charette):

 > We should probably run check_deprecation_details() only for not applied
 migrations. What do you think?

 I think this will go a long way in avoiding to spam users every single
 time they run a management command that triggers system checks but it's
 not uncommon for developers to drop their local database and start from
 scratch.

 Ultimately they'll have to squash their migrations before 5.1 if they want
 to avoid having their migration breaking so I wonder if we are doing them
 a favour by silencing the check which than can already silence using
 `SILENCED_SYSTEM_CHECKS`.

 I think the system check hint should point at the proper procedure of
 using `indexes` and running `makemigrations` instead?

 Ultimately the only way for all the warnings and check errors to go away
 before 5.1 where `AlterIndexTogether` will likely be marked as `elidable =
 True` since it will be a noop is for users to manually edit their
 migrations to replace their usage of `AlterIndexTogether` by `AddIndex`
 and friends. I'm not sure the current documentation does a good job at
 explaining how this must be done as it's a relatively complex operation.

 Maybe there something that could be done through
 `RenameIndex.reduce(operation: AlterIndexTogether)` to ease the pain when
 `old_fields` is present here and have migration squashing handle most of
 the cases? Otherwise I foresee a lot of reports coming our way on the 5.1
 rollout saying that `RenameIndex` is failing to run due to a missing
 index.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018202692119-4ddef967-ad45-47e5-af3a-a0e32408f939-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-15 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  closed
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak):

 [https://github.com/django/django/pull/15847 PR]

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070182014dd682-8631afa3-3cef-401f-a3b5-e423b2ab812a-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-14 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  closed
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak):

 We should probably run `check_deprecation_details()` only for not applied
 migrations. What do you think?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181fff1c5be-800251b6-895e-4694-95a3-08057dfd7f3a-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-14 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  closed
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Simon Charette):

 I think you'll want to squash the migrations containing such operations.
 I'm not sure if the warnings point at doing that but if it's not the case
 it definitely should as this will be a common issue given
 `AlterIndexTogether` has been around forever.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181ff157766-57706326-a1f6-4453-bd29-517be2315dda-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-14 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  closed
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Collin Anderson):

 I'm getting system check error: "AlterIndexTogether is deprecated. Support
 for it (except in historical migrations) will be removed in Django 5.1.",
 even though it's only used in historical migrations. Is there something
 I'm supposed to do? Or why give a warning if I don't need to take any
 action? Is there any way to clarify this? (Same with release notes
 deprecation section, very unclear what action I'm supposed to take.)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181fe6ac815-66d7aec8-3425-4ec9-84ea-1b98777f18f0-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-13 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  closed
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by David Wobrock ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"a6385b382e05a614a99e5a5913d8e631823159a2" a6385b3]:
 {{{
 #!CommitTicketReference repository=""
 revision="a6385b382e05a614a99e5a5913d8e631823159a2"
 Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes.

 This also deprecates AlterIndexTogether migration operation.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181f6456721-cf704517-be33-4b7d-9f0c-93897acbb973-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-12 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * stage:  Accepted => Ready for checkin


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181f133f324-70435747-8c79-4304-9645-e3ee7b9428a5-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-11 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"4f284115a9181990f713d5167b25628fa171a5e4" 4f284115]:
 {{{
 #!CommitTicketReference repository=""
 revision="4f284115a9181990f713d5167b25628fa171a5e4"
 Refs #27236 -- Split RenameField() tests with unique/index_together.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181f0e46f03-46e6cf0c-cfce-4e99-925c-e082763e5425-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-11 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"f8f16b3cd85599b464cbc5c7e884387940c24e6f" f8f16b3c]:
 {{{
 #!CommitTicketReference repository=""
 revision="f8f16b3cd85599b464cbc5c7e884387940c24e6f"
 Refs #27236 -- Removed usage of Meta.index_together from
 indexes/introspection test models.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181ec11953f-3533eb79-3508-494e-8bd6-2721c8cdb355-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-07 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"57793b47657ace966ce8ce96d801ac0d85e5efc6" 57793b47]:
 {{{
 #!CommitTicketReference repository=""
 revision="57793b47657ace966ce8ce96d801ac0d85e5efc6"
 Refs #27236 -- Refactored out DeprecationForHistoricalMigrationMixin.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181dc5fb8cf-a4a898a1-5e04-49c2-8ce9-2b614ff72d29-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-07-07 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"41019e48bbf082c985e6ba3bad34d118b903bff1" 41019e48]:
 {{{
 #!CommitTicketReference repository=""
 revision="41019e48bbf082c985e6ba3bad34d118b903bff1"
 Refs #27236 -- Added generic mechanism to handle the deprecation of
 migration operations.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181dc5fb8f8-857ff4a9-954f-47a8-9338-9dd0e4ece4fd-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-06-19 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by David Wobrock):

 * needs_better_patch:  1 => 0


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701817ca521c4-631e9462-5799-484b-a4fa-d4797ced4f44-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-06-13 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * needs_better_patch:  0 => 1


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701815c56f1e5-1fc7dfed-d1fe-4c9f-b8cb-1c2d50cedcdb-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-06-13 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"457cfd6f393511a207e3400184ff03813818afa5" 457cfd6f]:
 {{{
 #!CommitTicketReference repository=""
 revision="457cfd6f393511a207e3400184ff03813818afa5"
 Refs #27236 -- Added test_autodetector.BaseAutodetectorTests.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701815c313e2f-aef5021e-de00-4c89-8fd4-6f6afa197898-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-06-13 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"db588d4f0edde5095f8975be1da4e693268b86b3" db588d4f]:
 {{{
 #!CommitTicketReference repository=""
 revision="db588d4f0edde5095f8975be1da4e693268b86b3"
 Refs #27236 -- Split index_together and unique_together autodetector
 tests.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701815c313e71-a334f28e-ea98-45ea-9224-0ecdd1884166-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-06-02 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"a3a1290d47326c3f87824b3cf7ca969cb0d364aa" a3a1290d]:
 {{{
 #!CommitTicketReference repository=""
 revision="a3a1290d47326c3f87824b3cf7ca969cb0d364aa"
 Refs #27236 -- Moved models with Meta.index_together inside of test
 methods.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181280b222b-c7de930e-7f00-4cec-b3a6-6bbc6c78073c-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-06-02 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by David Wobrock):

 * needs_better_patch:  1 => 0
 * needs_docs:  1 => 0


Comment:

 Here we go again! With 3 PRs:
 [https://github.com/django/django/pull/15703 The main PR]
 [https://github.com/django/django/pull/15754 Inlining test classes]
 [https://github.com/django/django/pull/15755 Splitting index/unique
 together autodetector tests]

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181265902ce-5ba44ffa-a782-4de5-9d79-f85de80bb556-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-06-02 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  1
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * needs_better_patch:  0 => 1
 * needs_docs:  0 => 1


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701812391ffc8-849b8917-abf4-47d2-8100-30986368210a-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-05-21 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by David Wobrock):

 * needs_better_patch:  1 => 0


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070180e6baff84-5b27dae2-f393-461b-9c48-f377d7b05958-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2022-05-17 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  David
 Type:   |  Wobrock
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by David Wobrock):

 * cc: David Wobrock (added)
 * owner:  Olivier Tabone => David Wobrock


Comment:

 Since https://code.djangoproject.com/ticket/27064 is done, I'll try to
 tackle this issue.
 Here is a new [https://github.com/django/django/pull/15703 PR] based a bit
 off the previous one.

 I changed the assignee, since it was set about 6 years ago :)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070180d26182ba-f78c7a91-676e-4c19-a97f-63532dc5b597-00%40eu-central-1.amazonses.com.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2016-11-15 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  Olivier
 Type:   |  Tabone
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Tim Graham):

 I think that's the correct ticket.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.beed6da602fce70f36adf5f82c6296d7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2016-11-14 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  Olivier
 Type:   |  Tabone
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Olivier Tabone):

 Hi Markus, Thank you for your reply.

 Are you referring to #27064 ? or is it something different ?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.521c086d3ea526f4c73320a26acff4b0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2016-11-12 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  Olivier
 Type:   |  Tabone
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Markus Holtermann):

 While this is the one step of the deprecation process of `index_together`
 there is currently no way to migrate an existing from `index_together` to
 `indexes` w/o dropping and recreating indexes. Since removing and adding
 an index can be a quite expensive operation, this is not an option to do
 so for now.

 The next step in the deprecation process needs to treat `indexes` and
 `index_together` similarly in the sense that the latter is translated into
 the former internally (inside the migration framework). Once this is done,
 the deprecation of actually using `index_together` can start.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.a0d002aea48ad3193fdf1994b78a85a0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2016-11-08 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  Olivier
 Type:   |  Tabone
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Tim Graham):

 * needs_better_patch:  0 => 1


Comment:

 I left comments for improvement.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.3f67666cb4bd857a1f96720819d90548%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2016-11-05 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  Olivier
 Type:   |  Tabone
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Olivier Tabone):

 see [https://github.com/django/django/pull/7509]

 any comment appreciated

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.0311051f6a83f194b06339d968313b1f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2016-11-05 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  Olivier
 Type:   |  Tabone
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Olivier Tabone):

 * has_patch:  0 => 1


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.f17df765e68a882002de8756c462%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2016-11-05 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  Olivier
 Type:   |  Tabone
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Olivier Tabone):

 * owner:  nobody => Olivier Tabone
 * status:  new => assigned
 * cc: olivier.tabone@… (added)


Comment:

 working on this ticket during duth sprint

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.86c98b0e4817787f31f441674be7c1db%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2016-09-20 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  index_together   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Akshesh Doshi):

 * keywords:   => index_together


Comment:

 Changed the keywords by mistake.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.c8ae674363643a64082d58537711fbb6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2016-09-20 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  Akshesh Doshi|Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Akshesh Doshi):

 * keywords:  db-indexes index_together =>


Comment:

 Yes, since `AlterIndexTogether` is currently there in the migrations of so
 many Django projects we need to keep maintaining it. But the idea is to
 deprecate the use of `index_together` in the models file and the
 `generate_altered_index_together` method of the `MigrationAutodetector`.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.aa9367aa5267c778cd75ede4d84363d6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2016-09-20 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  akki |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  db-indexes   | Triage Stage:  Accepted
  index_together |
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by timgraham):

 * version:   => master
 * stage:  Unreviewed => Accepted


Comment:

 My understanding is that we're keeping the `AlterIndexTogether` migration
 operation around indefinitely for support in historical migrations. Are
 there any other details from our conversations to add?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.0814941d174ca45051c1adf25dfa052f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2016-09-17 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  akki |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Database layer   |  Version:
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  db-indexes   | Triage Stage:
  index_together |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by akki):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 This ticket tracks a sub-part of this deprecation process -
 https://code.djangoproject.com/ticket/27064

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.87cdf410caf5b31df3494db95aa0b860%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes

2016-09-17 Thread Django
#27236: Deprecate Model.Meta.index_together in favour of Model.Meta.indexes
-+-
 Reporter:  akki |  Owner:  nobody
 Type:   | Status:  new
  Cleanup/optimization   |
Component:  Database layer   |Version:
  (models, ORM)  |   Keywords:  db-indexes
 Severity:  Normal   |  index_together
 Triage Stage:  Unreviewed   |  Has patch:  0
Easy pickings:  0|  UI/UX:  0
-+-
 Anything that `index_together` does can be done by `indexes` and the
 `Index` class.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/047.4edfc109b05f82a34ff4206e07c0c502%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.