Answer the question
In order to leave comments, you need to log in
How to properly make relationships between models in Django?
class Employee(models.Model):
name = models.CharField('Имя сотрудника', max_length=50, blank=True)
class Post(models.Model):
name = models.CharField('Название поста', max_length=50, blank=True)
class Duty(models.Model):
date = models.DateField('Дата дежурства', auto_now=False, auto_now_add=False)
Answer the question
In order to leave comments, you need to log in
when he started to set the background th
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question