2
Well, if you want to use unique_together
, then you need a field that just has the date. Easiest thing might be to have two fields — datefield
and timefield
— instead of a singledatetimefield
.
Source:stackexchange.com
2
Well, if you want to use unique_together
, then you need a field that just has the date. Easiest thing might be to have two fields — datefield
and timefield
— instead of a singledatetimefield
.