Tuesday, February 23, 2021

Re: Help needed

You definitely have to remove, auto_now=True

On Tue, Feb 23, 2021 at 11:34 AM neha bhurke <bhurkeneha7@gmail.com> wrote:
Hello everyone,

I am trying to select the custom date but datetime=models.DateTimeField(auto_now=True)
is only taking current date ....
Please help me 

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b1c53101-c7c6-403f-9b43-6713d7f66c07n%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFB6YJqT46%3DfA_fZ%2BLGK7LmVCU3jsdbvZFh5W0BWEx3Oxh0_tg%40mail.gmail.com.

No comments:

Post a Comment