#28053: Allow fields to specify arbitrary indexes via db_index=Index() -------------------------------------+------------------------------------- Reporter: Marc Tamlyn | Owner: Can | Sarıgöl Type: New feature | Status: assigned Component: Database layer | Version: master (models, ORM) | Severity: Normal | Resolution: Keywords: indexes migrations | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Can Sarıgöl): Hi, thanks for your detailed explanation. Firstly, I wanted to be sure to understand you. Because of that I've issued a [https://github.com/django/django/pull/11264/commits/9d27856794e0d4e50212e5a55285cd324f09fb5d commit]. I'm using {{{_get_index_type_kwargs}}} to getting kwargs for {{{_create_index_sql}}}. I applied it in this part. what do you think? -- Ticket URL: <https://code.djangoproject.com/ticket/28053#comment:8> 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 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/066.bfd7cd5edf73281d80368bef5000c4d8%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.