Skip to content

simeonf/django-dualdb-sample

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
This is an quick example of multi-db support in django and a
demonstration of the inspectdb management command as requested by
students in my Django class. 

The sample database comes from http://chinookdatabase.codeplex.com/ -
see the license for the included .sqlite database there.

The chinook app is the result of running the inspectdb command to
generate a models file and writng a router to handle my desired use
case where:

 - models from the required contrib apps live in their own .sqlite db
 - but we create an admin to edit the (otherwise unmodified) chinook
   database.

About

Sample code demonstrating writing a router for django multi-db support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages