.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user