FIX: pep8/remove debug print

This commit is contained in:
2020-02-18 18:37:54 +00:00
parent d1ccb561f5
commit e7324e2d10
3 changed files with 5 additions and 6 deletions

View File

@@ -78,7 +78,7 @@ class CableType(models.Model):
related_name='socket', blank=True, null=True)
def __str__(self):
return "%s%s" % (self.plug.description, self.socket.description)
return "%s%s" % (self.plug.description, self.socket.description)
@reversion.register
@@ -113,7 +113,6 @@ class Asset(models.Model, RevisionMixin):
csa = models.DecimalField(decimal_places=2, max_digits=10,
blank=True, null=True, help_text='mm^2')
# Hidden asset_id components
# For example, if asset_id was "C1001" then asset_id_prefix would be "C" and number "1001"
asset_id_prefix = models.CharField(max_length=8, default="")