Add docstring

This commit is contained in:
Oliver Walters 2019-08-28 19:44:46 +10:00
parent f94be40857
commit d5ad53c788

View File

@ -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),