M
M
MrDjango2022-01-14 15:35:16
Django
MrDjango, 2022-01-14 15:35:16

How to compare the date today and the one in date django?

Hello everyone, please tell me, there is a date date = models.DateField('Opening date',null=False)
how to compare it with today's, if the date is the same, then we do one thing if it's different, then
I can't compare the other in any way

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question