python - Use two databases in Django 1.5 -
i have django 1.5 application sqlite or mysql database. @ local server have oracle database typically connect connection string
"tns=tns-name; uid=user; pwd=pwd;".
how possible print data local oracle database in django application?
actually, want transfer data oracle database main sqlite/mysql database.
i've seen tutorials how use oracle database main database source in django application, want keep main database source , load specific data oracle database in specific django view.
thank you.
i'm not quite sure if you're looking for, django docs seem job explaining (if interpreted correctly). in short, need add list of databases in settings file , create router. lookup chain databases detailed here.
Comments
Post a Comment