Integrating Legacy Databases
Hi all,
I want to integrate some legacy Oracle data tables into a project that
I have built however they are in a seperate schema to my Django tables
i.e the DATABASE_USER and DATABASE_PASSWORD settings are different. I
am still relatively new to Django however from everything I have read
I get the feeling that (a) it's better to use Django for green-field
development (b) if you want to use legacy databases they should
contain all the tables in a single schema including Django specific
tables such as user details. I can't seem to find a 'best practise'
method for the situation I have. Does anyone have any advice? Do I
need to move tables, or build a new project or what?
I was also wondering how intrusive Django is to the underlying tables
in legacy databases. I guess I am seeking confirmation that Django
won't insert or update any tables without me explicitly telling it to.
This concern stems from the fact that other applications access these
data tables and update them. I merely want to build my models from the
tables (inspectdb I believe) and access the data. To this end, is
there any way of setting a Django model of a table to be 'read-only'
i.e. using the save() method would not in fact insert anything into
the underlying table?
Many thanks,
H
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home