<#20151 Django Migrations are not copied to migrat...
# github-notifications
c
#20151 Django Migrations are not copied to migrations directory from sandbox Issue created by mister-rao Running Django migrations command using pants will create migration file in sandbox but the generated files are not copied to the project migration directory. using pants v2.17.0 on WSL 2 The bug can be reproduced in https://github.com/pantsbuild/example-django. Delete any existing migration and run the command:
pants run helloworld/service/admin/manage.py -- makemigrations
Copy code
❯ pants run helloworld/service/admin/manage.py -- makemigrations
14:29:10.47 [INFO] Completed: Building 5 requirements for lib.pex from the lockfiles/python-default.lock resolve: django-stubs==1.10.1, django<4,>=3.2.13, gunicorn>=20.1.0, requests>=2.25.1, types-requests>=2.25.1
Migrations for 'person':
  /tmp/pants-sandbox-FGK0uG/./helloworld/person/migrations/0001_initial.py
    - Create model Person
pantsbuild/pants