str
This commit is contained in:
parent
3cc8af47e5
commit
2cb87ebb90
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ class Screen(models.Model):
|
|||
technology = models.CharField(max_length=100)
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.size_in} - {self.density} - {self.technology}"
|
||||
return f"{str(self.size_in)} - {str(self.density)} - {str(self.technology)}"
|
||||
|
||||
class Device(models.Model):
|
||||
#architecture = models.JSONField(default=dict)
|
||||
|
|
Loading…
Reference in a new issue