How to check two dates in django which is in two models? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to check two dates in django which is in two models?

If i do it normally, it shows an strftime error .Is there any other way to do? Please let me know if check_in > check_out or check_out < check_in: messages.info(request,"Room is available")

27th Apr 2021, 4:46 PM
Vinitha
Vinitha - avatar
1 Answer
- 1
Using Google.
2nd May 2021, 3:19 PM
zxtychj
zxtychj - avatar