(sifrovacka) stringifikace správných odpovědí
This commit is contained in:
parent
e589564840
commit
29b5361545
1 changed files with 3 additions and 0 deletions
|
@ -22,3 +22,6 @@ class SpravnaOdpoved(models.Model):
|
||||||
odpoved = models.TextField(blank=False, null=False,)
|
odpoved = models.TextField(blank=False, null=False,)
|
||||||
sifra = models.IntegerField(blank=False, null=False,)
|
sifra = models.IntegerField(blank=False, null=False,)
|
||||||
skryty_text = models.TextField(blank=False, null=False,)
|
skryty_text = models.TextField(blank=False, null=False,)
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return f"{self.sifra}: {self.odpoved}"
|
||||||
|
|
Loading…
Reference in a new issue