mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add docstring
This commit is contained in:
parent
f94be40857
commit
d5ad53c788
@ -1088,6 +1088,7 @@ class PartParameter(models.Model):
|
||||
"""
|
||||
|
||||
def __str__(self):
|
||||
# String representation of a PartParameter (used in the admin interface)
|
||||
return "{part} : {param} = {data}{units}".format(
|
||||
part=str(self.part),
|
||||
param=str(self.template.name),
|
||||
|
Loading…
Reference in New Issue
Block a user