Thursday, June 3, 2021

Makemigrations and migrate for already existing database

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.

No comments:

Post a Comment