giovanni wrote:
Hello:

I am new to Django. I am intrigued by the possibility of providing a
web front-end to complex databases. Let's say I have a database with
more than 10 or 20 related tables, with a complex ER-diagram, such as,
for example, the picture here: 
http://blog.hundhausen.com/files/AdventureWorksLT.jpg.
There are many tables with multiple one-to-many and many-to-one
relationships.

How easy it is to quickly develop a web front-end for database
searches and updates (add,delete,edit records) using Django or some
other web application framework? And how would I get started? I only
have the ER-diagram and the actual database tables and relationships
between the various keys to get started.
Once you know the ropes a web front-end can be developed using django fairly quickly.
It sounds like you are trying to hook django into an existing database?
You can use the 'inspectdb' feature to start creating django models for your specific existing database-- I've heard of some bugs when detecting foreign key, many to many, etc...

The first thing to do would be to learn the ins and outs of the django ORM using a blank database-- just get comfortable working with the API. Play with the foreignkey, manytomany, etc...

Once you are comfortable with creating django models, the database introspection won't be as beastly to take on-- you'll already be in familiar territory.

As for creating the various views for presenting information in the user's browser, it is fairly straightforward.

Good luck!


Jeff Anderson

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to