#28888: Index added to _meta.indexes with Meta.indexes=[] yields two equal
addIndex() operations.
-------------------------------------+-------------------------------------
     Reporter:  Jan Pieter           |                    Owner:  nobody
  Waagmeester                        |
         Type:  Uncategorized        |                   Status:  new
    Component:  Migrations           |                  Version:  1.11
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Jan Pieter Waagmeester):

 I understand that "there's no documented support for adding indexes in
 `Field.contribute_to_class()`" and I'm open to suggestions to other
 solutions to add indexes with a field.

 But this seems the cleanest way to do it, and support seems to be almost
 there/halfway there. I'm willing to invest time to create a patch to fix
 this, but I'd like to have some degree of confidence that such a solution
 would be desirable functionality.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28888#comment:4>
Django <https://code.djangoproject.com/>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.5c79ea501b82b373aad2e6339b02da33%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to