Have you performed migrations anf before that makemigration command. I think there is difference between mysql and postgres queries.
On Tue, 24 Dec, 2019, 12:41 AM Siva Sai Krishna, < [email protected]> wrote: > Hi Guys, > I changed Django default db from *mysql* to *postgres * and i am getting > the below error. > > If anyone knows how to fix this error, give suggestions. > > -- > 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/ec7ca080-67fd-4696-b319-c92e2c2ecd6f%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/ec7ca080-67fd-4696-b319-c92e2c2ecd6f%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/CAO24gqws2SLrvBeB4%2BMqL8TwAdQoA3rL4E4jP6L6DhsR_BYCbA%40mail.gmail.com.

