[Answered ]-Custom index name in South/Django

2👍

For anyone finding its way from Google – seems Django 1.11 allows you now to have a custom name for indexes. Following the documentation as described here:

Index.name

The name of the index. If name isn’t provided Django will auto-generate a name. For compatibility with different databases, index names cannot be longer than 30 characters and shouldn’t start with a number (0-9) or underscore (_).

👤GregD

0👍

There is no way of customizing the name for indexes as these are generated by hashing (the index name calculation uses some hashing techniques)

Leave a comment