mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
PEP fix
This commit is contained in:
parent
ad977d4d26
commit
a7ee323035
@ -80,7 +80,7 @@ class Company(models.Model):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
ordering = ['name',]
|
ordering = ['name', ]
|
||||||
|
|
||||||
name = models.CharField(max_length=100, blank=False, unique=True,
|
name = models.CharField(max_length=100, blank=False, unique=True,
|
||||||
help_text=_('Company name'),
|
help_text=_('Company name'),
|
||||||
|
@ -239,7 +239,7 @@ class Part(MPTTModel):
|
|||||||
class Meta:
|
class Meta:
|
||||||
verbose_name = _("Part")
|
verbose_name = _("Part")
|
||||||
verbose_name_plural = _("Parts")
|
verbose_name_plural = _("Parts")
|
||||||
ordering = ['name',]
|
ordering = ['name', ]
|
||||||
|
|
||||||
class MPTTMeta:
|
class MPTTMeta:
|
||||||
# For legacy reasons the 'variant_of' field is used to indicate the MPTT parent
|
# For legacy reasons the 'variant_of' field is used to indicate the MPTT parent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user