Friday, June 4, 2021

Re: Makemigrations and migrate for already existing database

Check the error in Google 

Mahendra Yadav

On Fri, 4 Jun 2021, 18:28 Ankita Sharma, <ankitasharma9193@gmail.com> wrote:
Hello All
Hope all are doing great.
The issue is as follows:
I have already existing 2 MSSql databases from which I have migrated required tables into models.py
Now I am not able to do makemigrations on one of them. Below is the error:

from records.models.transactions_east import AdgSrtransactionsEast
ValueError: source code string cannot contain null bytes

Please help me here

Thanks in advance

--
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/0528c4a7-36a2-4762-a576-db114c7d445cn%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/CAN-6G3xNFg%3DGfu%3DZebJsagBhDjOL-UgpN-Tx-kAH9mRNvi2N6Q%40mail.gmail.com.

No comments:

Post a Comment