You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
577 B

from django.db import models
from seminar.models.personalni import Resitel
# Create your models here.
class OdpovedUcastnika(models.Model):
resitel = models.ForeignKey(Resitel, blank=False, null=False, on_delete=models.CASCADE)
odpoved = models.TextField("Tajenka", blank=False, null=False,)
sifra = models.IntegerField("Číslo šifry", blank=False, null=False,)
class SpravnaOdpoved(models.Model):
odpoved = models.TextField(blank=False, null=False,)
sifra = models.IntegerField(blank=False, null=False,)
skryty_text = models.TextField(blank=False, null=False,)