First you can cleanup all migrations files in /migrations/*. And then try to provide *default=" " *for contact_no. Try to migrate all these changes !
On Tue, Sep 10, 2019 at 1:42 PM Pradeep Singh <[email protected]> wrote: > okay . yes i did but problem are same > > On Tue, 10 Sep 2019 at 12:49, Rahul Roshan <[email protected]> > wrote: > >> Can you try contact_date default=" " ! >> >> On Tue, Sep 10, 2019, 12:22 PM ANi <[email protected]> wrote: >> >>> >>> Another piece of advice, please prettify your code or take a screenshot >>> , not just paste it directly. >>> It is not easy to read to you as well, right? >>> >>> >>> >>> what had you done in this migration? >>> Was the original value in that column a datetime and you want to change >>> it into another data format? >>> >>> >>> Pradeep Singh於 2019年9月10日星期二 UTC+8上午10時44分28秒寫道: >>>> >>>> I didnot get why i am getting this error .please help to fix it >>>> >>> -- >>> 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/8540486f-2bbf-4f39-aa81-82e26cfb352c%40googlegroups.com >>> <https://groups.google.com/d/msgid/django-users/8540486f-2bbf-4f39-aa81-82e26cfb352c%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CAN%2BO0S4yH%3DoiU5hYfKQK2T-1nSAFF3djqECKADeAXRgf-mPDWw%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAN%2BO0S4yH%3DoiU5hYfKQK2T-1nSAFF3djqECKADeAXRgf-mPDWw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CANwgZcaVsdbUFagqLC-is802jjvLM91SGiZ270Y2sRNXkSNx5A%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CANwgZcaVsdbUFagqLC-is802jjvLM91SGiZ270Y2sRNXkSNx5A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAN%2BO0S6UqD99%3D33qJtjj8CNCJo1fRrWJuciYthToUhSUY7g5TQ%40mail.gmail.com.

