Django, Python, Web Development.
models.CharField(max_length=100, db_index=True) email = models.EmailField(unique=True) signup_date = models.DateTimeField(auto_now_add=True) class Meta: indexes = [ models.Index(fields=['username'], name='username_idx'), models.Index(fields=['-signup_date'], name='signup_date_idx'), ] In this