Wednesday, October 24, 2012

Connecting to external databases from Views.py

Hi guys I am new to django and have built my first application that is being used to track and compare pricelists from vendors and it is working awesomly, I have had a request for a new feature and I am alittle boggled at to how I am going to do it..

Basically I wasnt to create a view which returns read only data(a report) from an external database which is not the django database. I dont want to copy the data to the django database and use a models as then concurreny become an issue

What would you guys recommened..

I was thinking on implenting a odbc connection from the views.py method called for my url ? but database call from the view , sound a abit dodgy.

Any ideas ?





Email Disclaimer | Quote Disclaimer | All business is undertaken subject to our General Trading Conditions, a copy of which is available on request and on our website www.freightman.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ewQAAfxJlJ4J.
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.

No comments:

Post a Comment