1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

[soc2009/multidb] Removed a documentation reference to Meta.using. Patch from Russell Keith-Magee.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor 2009-12-03 20:57:53 +00:00
parent a824570484
commit 6bc1b7d8cd

View File

@ -27,15 +27,6 @@ you choose. If at any time you attempt to access a database that isn't defined
in your :setting:`DATABASES` setting then Django will raise a
``django.db.utils.ConnectionDoesNotExist`` exception.
Selecting a Database for a ``Model``
====================================
In addition to the global default database for all models, it is possible to
select a default database on a per-model level. This is done using the
``using`` option in a model's inner ``Meta`` class. When provided this
database becomes the default database for all lookups, saves, and deletes for
this model. It can be overiden on a per-query basis as described below.
Selecting a Database for a ``QuerySet``
=======================================