This commit is contained in:
Oliver Walters 2020-08-08 16:59:48 +10:00
parent ad977d4d26
commit a7ee323035
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ class Company(models.Model):
"""
class Meta:
ordering = ['name',]
ordering = ['name', ]
name = models.CharField(max_length=100, blank=False, unique=True,
help_text=_('Company name'),

View File

@ -239,7 +239,7 @@ class Part(MPTTModel):
class Meta:
verbose_name = _("Part")
verbose_name_plural = _("Parts")
ordering = ['name',]
ordering = ['name', ]
class MPTTMeta:
# For legacy reasons the 'variant_of' field is used to indicate the MPTT parent