<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: multidb</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/multidb.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2010-05-17T21:11:00+00:00</updated><author><name>Simon Willison</name></author><entry><title>Django 1.2 release notes</title><link href="https://simonwillison.net/2010/May/17/django/#atom-tag" rel="alternate"/><published>2010-05-17T21:11:00+00:00</published><updated>2010-05-17T21:11:00+00:00</updated><id>https://simonwillison.net/2010/May/17/django/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://docs.djangoproject.com/en/dev/releases/1.2/"&gt;Django 1.2 release notes&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Released today, this is a terrific upgrade. Multiple database connections, model validation, improved CSRF protection, a messages framework, the new smart if template tag and lots, lots more. I’ve been using the 1.2 betas for a major new project over the past few months and it’s been smooth sailing all the way.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://www.djangoproject.com/weblog/2010/may/17/12/"&gt;Django 1.2 released&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/csrf"&gt;csrf&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/django"&gt;django&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/multidb"&gt;multidb&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/open-source"&gt;open-source&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/releases"&gt;releases&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/recovered"&gt;recovered&lt;/a&gt;&lt;/p&gt;



</summary><category term="csrf"/><category term="django"/><category term="multidb"/><category term="open-source"/><category term="python"/><category term="releases"/><category term="recovered"/></entry><entry><title>Django | Multiple Databases</title><link href="https://simonwillison.net/2009/Dec/22/django/#atom-tag" rel="alternate"/><published>2009-12-22T17:22:37+00:00</published><updated>2009-12-22T17:22:37+00:00</updated><id>https://simonwillison.net/2009/Dec/22/django/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://docs.djangoproject.com/en/dev/topics/db/multi-db/"&gt;Django | Multiple Databases&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Russell just checked in the final patch developed from Alex Gaynor’s Summer of Code project to add multiple database support to Django. I’d link to the 21,000 line changeset but it crashed our Trac, so here’s the documentation instead.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/alex-gaynor"&gt;alex-gaynor&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/databases"&gt;databases&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/django"&gt;django&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/multidb"&gt;multidb&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/russell-keith-magee"&gt;russell-keith-magee&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/scaling"&gt;scaling&lt;/a&gt;&lt;/p&gt;



</summary><category term="alex-gaynor"/><category term="databases"/><category term="django"/><category term="multidb"/><category term="python"/><category term="russell-keith-magee"/><category term="scaling"/></entry><entry><title>Django 1.2 planned features</title><link href="https://simonwillison.net/2009/Oct/26/django/#atom-tag" rel="alternate"/><published>2009-10-26T10:38:06+00:00</published><updated>2009-10-26T10:38:06+00:00</updated><id>https://simonwillison.net/2009/Oct/26/django/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://code.djangoproject.com/wiki/Version1.2Features"&gt;Django 1.2 planned features&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
The votes are in and the plan for Django 1.2 has taken shape - features are split in to high, medium and low priority. There's some really exciting stuff in there - outside of the things I've already talked about, I'm particularly excited about multidb, &lt;code&gt;Model.objects.raw(SQL)&lt;/code&gt;, the smarter &lt;code&gt;{% if %}&lt;/code&gt; tag and class-based generic views.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/classbasedviews"&gt;classbasedviews&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/django"&gt;django&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/multidb"&gt;multidb&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/orm"&gt;orm&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;&lt;/p&gt;



</summary><category term="classbasedviews"/><category term="django"/><category term="multidb"/><category term="orm"/><category term="python"/></entry><entry><title>Hugely informative thread on multi-db support in Django</title><link href="https://simonwillison.net/2008/Sep/10/proposal/#atom-tag" rel="alternate"/><published>2008-09-10T23:31:26+00:00</published><updated>2008-09-10T23:31:26+00:00</updated><id>https://simonwillison.net/2008/Sep/10/proposal/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://groups.google.com/group/django-developers/browse_thread/thread/9f0353fe0682b73"&gt;Hugely informative thread on multi-db support in Django&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
I brain-dumped some ideas for a Django multi-database connection API on the developer list, and got a ton of smart push-back from people who’ve been there and have the scars to prove it.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/databases"&gt;databases&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/django"&gt;django&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/multidb"&gt;multidb&lt;/a&gt;&lt;/p&gt;



</summary><category term="databases"/><category term="django"/><category term="multidb"/></entry><entry><title>Low level hooks for multi-database support in Django</title><link href="https://simonwillison.net/2008/Sep/3/jacobian/#atom-tag" rel="alternate"/><published>2008-09-03T23:33:24+00:00</published><updated>2008-09-03T23:33:24+00:00</updated><id>https://simonwillison.net/2008/Sep/3/jacobian/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.reddit.com/r/programming/comments/6zbos/django_10_release_candidate_now_available/c05a68v"&gt;Low level hooks for multi-database support in Django&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
As discussed in this sub-thread on reddit: The internal Django Query class has a ’connection’ attribute which can be set by the constructor. This low level hook is the secret to talking to more than one database at once, but higher level APIs have not yet been defined. Jacob Kaplan-Moss: “As a matter of fact, at least a couple high-traffic Django sites are using the new hooks.”


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/django"&gt;django&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/jacob-kaplan-moss"&gt;jacob-kaplan-moss&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/multidb"&gt;multidb&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/query"&gt;query&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/reddit"&gt;reddit&lt;/a&gt;&lt;/p&gt;



</summary><category term="django"/><category term="jacob-kaplan-moss"/><category term="multidb"/><category term="python"/><category term="query"/><category term="reddit"/></entry></feed>