mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fix
This commit is contained in:
parent
ad977d4d26
commit
a7ee323035
@ -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'),
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user