Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Model1(models.Model):
- day = models.DateField(unique=True)
- .....
- class Model2(models.Model):
- day = models.ForeignKey(Table,
- on_delete=models.CASCADE)
- .....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement