from django.contrib.gis.db import models
class Shop(models.Model):
name = models.CharField(max_length=100)
location = models.PointField()
address = models.CharField(max_length=100)
city = models.CharField(max_length=50)
class Meta:
indexes = [
models.Index(fields=[‘location’],name=‘custome_index_name’),
]
how can i write the test to check whether the index created is of specified name