<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/db/__init__.py, branch archive/soc2009/model-validation</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=archive%2Fsoc2009%2Fmodel-validation</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=archive%2Fsoc2009%2Fmodel-validation'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2009-12-28T16:35:23Z</updated>
<entry>
<title>[soc2009/model-validation] Merget to trunk at r12009</title>
<updated>2009-12-28T16:35:23Z</updated>
<author>
<name>Honza Král</name>
<email>honza.kral@gmail.com</email>
</author>
<published>2009-12-28T16:35:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f911df19a455246198b0c8c81ab96bf2abec04f8'/>
<id>urn:sha1:f911df19a455246198b0c8c81ab96bf2abec04f8</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@12014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #10833 -- Corrected load_backend so that it actually loads the requested backend, rather than always loading settings.DATABASE_BACKEND. Thanks to Alex Gaynor for the report and fix.</title>
<updated>2009-04-16T12:44:32Z</updated>
<author>
<name>Russell Keith-Magee</name>
<email>russell@keith-magee.com</email>
</author>
<published>2009-04-16T12:44:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f0d75dbe3e7f3715130921214330f088134159cb'/>
<id>urn:sha1:f0d75dbe3e7f3715130921214330f088134159cb</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #8193: all dynamic imports in Django are now done correctly. I know this because Brett Cannon borrowed the time machine and brought Python 2.7's '`importlib` back for inclusion in Django. Thanks for the patch-from-the-future, Brett!</title>
<updated>2009-03-18T16:55:59Z</updated>
<author>
<name>Jacob Kaplan-Moss</name>
<email>jacob@jacobian.org</email>
</author>
<published>2009-03-18T16:55:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=c485e236bd7e5ea40c64b2fe54d85dbb15b2fd39'/>
<id>urn:sha1:c485e236bd7e5ea40c64b2fe54d85dbb15b2fd39</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Improved the error message in case of an invalid DATABASE_BACKEND to ignore '.svn' directories in displaying the list of valid backends</title>
<updated>2009-03-13T04:45:11Z</updated>
<author>
<name>Adrian Holovaty</name>
<email>adrian@holovaty.com</email>
</author>
<published>2009-03-13T04:45:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=a21770e9147198ac8f6dcf03033e3f48a004a89c'/>
<id>urn:sha1:a21770e9147198ac8f6dcf03033e3f48a004a89c</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10046 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #10487 -- Refactored the database-backend-selection logic into a function, django.db.load_backend. Thanks to Alex Gaynor for the initial patch</title>
<updated>2009-03-13T04:41:45Z</updated>
<author>
<name>Adrian Holovaty</name>
<email>adrian@holovaty.com</email>
</author>
<published>2009-03-13T04:41:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d8744cca265243386977e4fbea671a72e6550ac7'/>
<id>urn:sha1:d8744cca265243386977e4fbea671a72e6550ac7</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #10459 -- Refactored the internals of database connection objects so that connections know their own settings and pass around settings as dictionaries instead of passing around the Django settings module itself. This will make it easier for multiple database support. Thanks to Alex Gaynor for the initial patch.</title>
<updated>2009-03-11T03:39:34Z</updated>
<author>
<name>Adrian Holovaty</name>
<email>adrian@holovaty.com</email>
</author>
<published>2009-03-11T03:39:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=315145f7ca682f8361d956e985f533a7fb421cde'/>
<id>urn:sha1:315145f7ca682f8361d956e985f533a7fb421cde</id>
<content type='text'>
This is backwards-compatible but will likely break third-party database backends. Specific API changes are:

* BaseDatabaseWrapper.__init__() now takes a settings_dict instead of a settings module. It's called settings_dict to disambiguate, and for easy grepability. This should be a dictionary containing DATABASE_NAME, etc.

* BaseDatabaseWrapper has a settings_dict attribute instead of an options attribute. BaseDatabaseWrapper.options is now BaseDatabaseWrapper['DATABASE_OPTIONS']

* BaseDatabaseWrapper._cursor() no longer takes a settings argument.

* BaseDatabaseClient.__init__() now takes a connection argument (a DatabaseWrapper instance) instead of no arguments.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@10026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #8706 -- Improved the way we detect available database backends.</title>
<updated>2009-03-01T07:12:38Z</updated>
<author>
<name>Malcolm Tredinnick</name>
<email>malcolm.tredinnick@gmail.com</email>
</author>
<published>2009-03-01T07:12:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=238477f90cb667cbe2656d46ece275ffad6fb216'/>
<id>urn:sha1:238477f90cb667cbe2656d46ece275ffad6fb216</id>
<content type='text'>
Thanks, victor@egenix.com.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #8238 -- If an invalid database backend is mentioned in settings and the</title>
<updated>2008-08-17T17:32:31Z</updated>
<author>
<name>Malcolm Tredinnick</name>
<email>malcolm.tredinnick@gmail.com</email>
</author>
<published>2008-08-17T17:32:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=98be84154942789e498d8717c8d25f378ca456b1'/>
<id>urn:sha1:98be84154942789e498d8717c8d25f378ca456b1</id>
<content type='text'>
environment doesn't support os.listdir(), we crashed whilst trying to construct
the friendly error message. This was not so friendly.

This patch handles that case (which occurs in real life in Google App Engine).
Patch from Guido van Rossum.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #8315 -- If an exception is raised whilst trying to rollback a</title>
<updated>2008-08-16T15:58:30Z</updated>
<author>
<name>Malcolm Tredinnick</name>
<email>malcolm.tredinnick@gmail.com</email>
</author>
<published>2008-08-16T15:58:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=844089de076e357f6b62d75099a5bd21bf7c94e5'/>
<id>urn:sha1:844089de076e357f6b62d75099a5bd21bf7c94e5</id>
<content type='text'>
transaction (after another exception in the code), make sure the original
exception is reported, rather than the rollback-generated one. The latter is
almost certainly a consequence of the former. Patch from Karen Tracey.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Corrected a problem with the error message when the nominated database backend doesn't exist. Thanks to Ramiro Morales for the report and fix.</title>
<updated>2008-08-11T13:11:25Z</updated>
<author>
<name>Russell Keith-Magee</name>
<email>russell@keith-magee.com</email>
</author>
<published>2008-08-11T13:11:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=3958c36319d5724d3478e1d8664a5aee4322c386'/>
<id>urn:sha1:3958c36319d5724d3478e1d8664a5aee4322c386</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
</feed>
