0

I have a django project. I moved my project from pyCharm editor to vscode editor. When I run the python manage.py makemigrations command, it creates a migration file for some applications under venv. I think it depends on the LANGUAGE_CODE value in settings.py but I used gettext_lazy in all my models. Even if I type the command python manage.py makemigrations app_label, it still creates migration files for projects under venv. The libraries installed with pip install under venv are my own django projects. I have always used gettext_lazy in these projects. Same projects execute makemigrations in pyCharm editor with no issues

erhan
  • 69
  • 2
  • 8
  • 1. first check init.py file in your app 2. if you running migrations as local please refresh the db 3. app must be register in install app – Tanveer Ahmad Nov 21 '22 at 10:06

0 Answers0