Merge branch 'BES-19'

This commit is contained in:
Th3NiKo 2019-11-27 23:04:56 +01:00
commit d933f403bb
1 changed files with 7 additions and 0 deletions

7
Front/model.py Normal file
View File

@ -0,0 +1,7 @@
from django.db import models
#Klasa opisująca zagadnienie dla danego przedmiotu
class Zagadnienie(models.Model):
nazwa = models.CharField(max_length=30)
przedmiot = models.ForeignKey(Przedmiot, on_delete=models.CASCADE)
data_dodania = models.DateField()