Answers for "django drop psql database"

1

django drop database postgres

find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
find . -path "*/migrations/*.pyc"  -delete

# Check status of files >
python3 manage.py showmigrations

create news migrations 

Enjoy:)
Posted by: Guest on February-14-2021

Python Answers by Framework

Browse Popular Code Answers by Language