summaryrefslogtreecommitdiff
path: root/django/db/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #12702 -- Introduced a common implementation of DatabaseError and ↵Russell Keith-Magee2010-01-291-0/+13
| | | | | | IntegrityError, so that database backends can (re)raise common error classes. Thanks for Waldemar Kornewald for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12718 -- Tighten up the error handling when loading database routers. ↵Russell Keith-Magee2010-01-281-2/+3
| | | | | | Thanks to Jeff Balogh for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12693 -- Improved error handling when there is an error setting up ↵Russell Keith-Magee2010-01-271-3/+8
| | | | | | the database router chain. Thanks to dhageman for the report and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Made the database master router tolerant of router definitions that omit ↵Russell Keith-Magee2010-01-271-9/+21
| | | | | | individual routing methods. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12672 -- Added the ability to configure which applications are ↵Russell Keith-Magee2010-01-251-0/+7
| | | | | | available on which database. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12542 -- Added the TEST_MIRROR setting, allowing testing of read ↵Russell Keith-Magee2010-01-251-0/+1
| | | | | | slave databases. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12540, #12541 -- Added database routers, allowing for configurable ↵Russell Keith-Magee2010-01-221-0/+38
| | | | | | database use behavior in a multi-db setup, and improved error checking for cross-database joins. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12558 -- Improved error handling when processing DATABASES setting. ↵Russell Keith-Magee2010-01-111-1/+1
| | | | | | Thanks to Oliver Beattie for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12428: Ensured that the dummy backend is installed correctly on a ↵Russell Keith-Magee2009-12-241-1/+3
| | | | | | fresh project generated by django-admin.py startproject. Thanks to Simon for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #1142 -- Added multiple database support.Russell Keith-Magee2009-12-221-0/+82
This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project. Congratulations to Alex for a job well done. Big thanks also go to: * Justin Bronn for keeping GIS in line with the changes, * Karen Tracey and Jani Tiainen for their help testing Oracle support * Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback. * Malcolm Treddinick for his guidance during the GSoC submission process. * Simon Willison for driving the original design process * Cal Henderson for complaining about ponies he wanted. ... and everyone else too numerous to mention that helped to bring this feature into fruition. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37