pingcap / django-tidb

TiDB dialect for Django
Apache License 2.0
30 stars 17 forks source link

fix: update _field_should_be_indexed #49

Closed wd0517 closed 1 year ago

wd0517 commented 1 year ago

Fix: django-tidb does not create index when user defined it on field, for example a = models.CharField(max_length=8, db_index=True)

This PR also introduce how to create tests for django-tidb.