This commit is contained in:
Ross
2022-03-30 22:51:11 +01:00
parent d0d6600be7
commit a1010b0318
2 changed files with 22 additions and 0 deletions
+5
View File
@@ -301,6 +301,11 @@ class CidUser(models.Model):
group = models.ForeignKey("CidUserGroup", on_delete=models.SET_NULL, null=True, blank=True)
class Meta:
indexes = [
models.Index(fields=["cid"])
]
def __str__(self) -> str:
return str(self.cid)