Add profile index
This commit is contained in:
parent
e1054077fa
commit
1689f7ec7b
2 changed files with 23 additions and 0 deletions
|
@ -419,6 +419,9 @@ class Profile(models.Model):
|
|||
)
|
||||
|
||||
class Meta:
|
||||
indexes = [
|
||||
models.Index(fields=["is_unlisted", "performance_points"]),
|
||||
]
|
||||
permissions = (
|
||||
("test_site", "Shows in-progress development stuff"),
|
||||
("totp", "Edit TOTP settings"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue