This commit is contained in:
Oliver Walters 2019-05-12 12:29:16 +10:00
parent d5dbc1b072
commit 82fb43e1e3

View File

@ -206,11 +206,13 @@ class Part(models.Model):
@property
def full_name(self):
""" Format a 'full name' for this Part.
""" Format a 'full name' for this Part.
- IPN (if not null)
- Part name
- Part variant (if not null)
Elements are joined by the | character
"""
elements = []