1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

Merge branch 'master' into 'fix-what-i-broke'

# Conflicts:
#   templates/base.html
This commit is contained in:
ynerant
2020-03-11 17:03:44 +01:00
8 changed files with 141 additions and 103 deletions

View File

@ -209,6 +209,10 @@ class Alias(models.Model):
class Meta:
verbose_name = _("alias")
verbose_name_plural = _("aliases")
indexes = [
models.Index(fields=['name']),
models.Index(fields=['normalized_name']),
]
def __str__(self):
return self.name