On Dec 13, 4:22 am, rebus_ <r.dav...@gmail.com> wrote:
> 2009/12/12 dundeemt <dunde...@gmail.com>:
>
>
>
>
>
> > I need to access data in other databases.  I don't want them listed in
> > model.py as I won't be using django's orm for them. Given this, where
> > is the preferred place to put the db connection for this data?  The
> > only references I could find show creating a db connection in the
> > view,http://www.djangobook.com/en/beta/chapter05/ -- while valid for
> > my purposes, is there a better place to cache the connection?
>
> > Also, I will be accessing 7+ other databases of varying types, some
> > have hundreds of tables and I have no desire to create a model when
> > for them when I only need to get to a few values.  I will not be
> > updating data in these other databases, only doing lookups.  So I am
> > not interested in making a proper django data connection to them.
>
> > Best,
>
> > Jeff
>
> > --
>
> In upcoming 1.2 version of django there should be support for multiple
> database. Thought Django 1.2 is scheduled for release on March 9,
> 2010.
>
> More information:
>
> http://code.djangoproject.com/wiki/Version1.2Roadmaphttp://code.djangoproject.com/wiki/Version1.2Featureshttp://code.djangoproject.com/wiki/MultipleDatabaseSupporthttp://code.djangoproject.com/ticket/1142
>
> Sorry i can't be more helpfull.
>
> Davor
Thanks for responding.  I've read through the 1.2 info so I have seen
that, but it doesn't appear to be what I am after.

Best,

Jeff

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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