django drop database postgres

Solutions on MaxInterview for django drop database postgres by the best coders in the world

showing results for - "django drop database postgres"
Sebastián
19 Apr 2018
1find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
2find . -path "*/migrations/*.pyc"  -delete
3
4# Check status of files >
5python3 manage.py showmigrations
6
7create news migrations 
8
9Enjoy:)
Safa
07 Nov 2020
1sudo su postgres
2psql
3drop database your_database_name;
4create database your_database_name with owner user_you_use_in_django;
5\q
6exit
7