jeudi 23 avril 2015

Single django app to use multiple sqlite3 files for database

I have two models in my django app and I want their tables/databases to be stored in seperate bd/sqlite3 files rather than in the default 'db.sqlite3' file.



Eg:
my models.py has two classes Train and Bus, I want them to be stored in train.db and bus.db

Aucun commentaire:

Enregistrer un commentaire