Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rebuild database from zero django postgres

sudo su postgres
psql
drop database your_database_name;
create database your_database_name with owner user_you_use_in_django;
q
exit
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rebuild #database #django #postgres
ADD COMMENT
Topic
Name
8+5 =