mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Add docstring
This commit is contained in:
parent
f94be40857
commit
d5ad53c788
@ -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),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user