Django

Code

Changeset 3738

Show
Ignore:
Timestamp:
09/08/06 09:11:52 (2 years ago)
Author:
jpellerin
Message:

[multi-db] Minor documentation updates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/multiple-db-support/django/db/__init__.py

    r3651 r3738  
    222222    instance in particular thread during a particular request. 
    223223 
    224     Any object that includes an attribute ``model`` that holds a model class 
     224    Any object that includes a ``model`` attribute that holds a model class 
    225225    can use this descriptor to manage connections. 
    226226    """ 
     
    280280         
    281281    def __getattr__(self, attr): 
     282        # Private (__*) attributes are munged 
    282283        if attr.startswith('_LocalizingProxy'): 
    283284            return self.__dict__[attr] 
     
    290291 
    291292    def __setattr__(self, attr, val): 
     293        # Private (__*) attributes are munged 
    292294        if attr.startswith('_LocalizingProxy'): 
    293295            self.__dict__[attr] = val 
  • django/branches/multiple-db-support/docs/multiple_database_support.txt

    r3513 r3738  
    7070============================== 
    7171 
    72 Each manager has a db attribute that can be used to access the model's 
    73 connection. Access the db attribute of a model's manager to obtain the 
     72Each manager has a ``db`` attribute that can be used to access the model's 
     73connection. Access the ``db`` attribute of a model's manager to obtain the 
    7474model's currently configured connection.  
    7575 
  • django/branches/multiple-db-support/docs/settings.txt

    r3712 r3738  
    588588TIME_FORMAT and YEAR_MONTH_FORMAT. 
    589589 
     590OTHER_DATABASES 
     591--------------- 
     592 
     593Default: ``{}`` 
     594 
     595Other database connections to use in addition to the default connection. See the `multiple database support docs`_. 
     596 
    590597PREPEND_WWW 
    591598----------- 
     
    853860.. _cache docs: http://www.djangoproject.com/documentation/cache/ 
    854861.. _middleware docs: http://www.djangoproject.com/documentation/middleware/ 
     862.. _muliple database support docs: http://www.djangoproject.com/documentation/multiple_database_support/ 
    855863.. _session docs: http://www.djangoproject.com/documentation/sessions/ 
    856864.. _See available choices: http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE