This might be useful;
http://docs.djangoproject.com/en/dev/howto/legacy-databases/
It describes how to create models for your existing databases. However, it
wont stop you being able to make writes with the django ORM.

Dougal


---
Dougal Matthews - @d0ugal
http://www.dougalmatthews.com/



2009/5/10 tekion <tek...@gmail.com>

>
> Hi,
> I have an application which update MySQL database.  It has
> aproximately 5 million rows.  I am new to django, I am thinking of
> using django to generate report using the database as the data source.
> From what I have seen of the tutorial, you create a model. The
> database model, would create some sort of schema on the database of
> your setting (depending on what option you have set up on your
> setting.py file).  Update,ADD, MOD,Query would go against this
> schema.  What I am not sure is, what if you don't want to
> UPDATE,ADD,MOD, just select from the (external) database because
> another application is responsible for the data in the database? Does
> any one have ideas on how to best handle this?
>
> From what I have seen with Django, I would have to write my own code
> snippet to handle the query for the report in conjunction with Django
> template system.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to