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
commit 46e472ed6d
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