correct a variable

This commit is contained in:
Andreas Zweili 2017-12-25 00:11:06 +01:00
parent 46b68b992d
commit f6e6d56172
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class Ram(models.Model):
ecc = models.BooleanField(default=False)
def __str__(self):
return '{} {} GB'.format(self.type, self.size)
return '{} {} GB'.format(self.type, self.size_in_gb)
class Meta:
verbose_name_plural = "RAM Modules"