~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to docs/topics/db/multi-db.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-10-12 11:34:35 UTC
  • mfrom: (1.2.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: james.westby@ubuntu.com-20101012113435-9lnsrh0i3mxozbt0
Tags: upstream-1.2.3
ImportĀ upstreamĀ versionĀ 1.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.. _topics-db-multi-db:
2
 
 
3
1
==================
4
2
Multiple databases
5
3
==================
240
238
                return False
241
239
            return None
242
240
 
243
 
     class MasterSlaveRouter(object):
 
241
    class MasterSlaveRouter(object):
244
242
        """A router that sets up a simple master/slave configuration"""
245
243
 
246
244
        def db_for_read(self, model, **hints):