Hi,
I think finding solution to this can consume time. Simply make a function
which will change the user reference of the card over a given period of
time.
Regards
Dev
On Mon 8 Oct, 2018, 10:47 PM Derek, wrote:
> Apart from setting up a unique key (user, card, start, end), you may also
> want
Apart from setting up a unique key (user, card, start, end), you may also
want to check if the date range for that card overlaps with another date
range; e.g.
see
https://stackoverflow.com/questions/9044084/efficient-date-range-overlap-calculation-in-python
--> do that check in the clean meth
Django has DateRangeField but that is only available if you are using
postgres
On Monday, October 8, 2018 at 1:10:04 PM UTC+2, Shareef 617 wrote:
>
> Consider a project where users can have many cards (or anything else, card
> is just an example), and the same card can belong to multiple users *
What is the question you have?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to dj
4 matches
Mail list logo