mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 01:55:39 +00:00
Add docstring
This commit is contained in:
@ -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),
|
||||
|
Reference in New Issue
Block a user