mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-13 02:25:38 +00:00
Add docstring
This commit is contained in:
@ -1088,6 +1088,7 @@ class PartParameter(models.Model):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
# String representation of a PartParameter (used in the admin interface)
|
||||||
return "{part} : {param} = {data}{units}".format(
|
return "{part} : {param} = {data}{units}".format(
|
||||||
part=str(self.part),
|
part=str(self.part),
|
||||||
param=str(self.template.name),
|
param=str(self.template.name),
|
||||||
|
Reference in New Issue
Block a user