Hello, I need to delete an index created automatically by Django, from a
third-party application and my own django apps, for later I recreate the
index optimized way.

this django application is used in several companies.
so I need to distribute these improvements via django migration.


I'm using raw sql in a RunPython migration, to delete and create the
optimized index.

in django 1.8, there is a deterministic way to I previously know what the
index name is generated for a given model field or django has a python
function/method to get this information?



-- 
Fábio C. Barrionuevo da Luz
Palmas - Tocantins - Brasil - América do Sul

http://pythonclub.com.br/

Blog colaborativo sobre Python e tecnologias Relacionadas, mantido
totalmente no https://github.com/pythonclub/pythonclub.github.io .

Todos são livres para publicar. É só fazer fork, escrever sua postagem e
mandar o pull-request. Leia mais sobre como publicar em README.md e
contributing.md.
Regra básica de postagem:
"Você" acha interessante? É útil para "você"? Pode ser utilizado com Python
ou é útil para quem usa Python? Está esperando o que? Publica logo, que
estou louco para ler...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPVjvMZquFf62z0810BA_n_dEGEY8jaG89e9sBUYvoT5Ybym8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to