Yes. I saw this link. My impression on first read is that it imports the database into Django's database. I am not looking for this. I am looking to just be able to read in the data from the external database and leave the maintenance of the database to the external application. Has anyone done gone done this path with Django. If not, then I am thinking of writing my own code to generate the report and just use Django for displaying the data. Thoughts?
On May 10, 9:13 am, Dougal Matthews <douga...@gmail.com> wrote: > 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 - @d0ugalhttp://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 -~----------~----~----~----~------~----~------~--~---