BES-18 Add subject model without userid

This commit is contained in:
Th3NiKo 2019-11-24 14:33:37 +01:00
parent 538db4195b
commit f99126a698
1 changed files with 5 additions and 0 deletions

5
Front/models.py Normal file
View File

@ -0,0 +1,5 @@
from django.db import models
class Przedmiot(models.Model):
nazwa = models.CharField(max_length=30)
#uzytkownik_id = models.ForeignKey(User, on_delete=models.CASCADE)