Skip to content

TestUserPleaseIgn0re/DjangomultipleSchema

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Postgres with psql and then:

CREATE DATABASE multiple_schema;

CREATE USER ivan;

GRANT ALL on DATABASE multiple_schema to ivan;

ALTER USER ivan with password 'ivan123!';

\c multiple_schema

CREATE SCHEMA app1;

CREATE SCHEMA app2;

\q

####Activate virtual env with

source bin/activate

cd multipleSchema

python manage.py migrate

##Enjoy :)

About

Cross ForeignKey with multiple schema

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%