Alex Gaynor
|
4d6c6d0596
|
[soc2009/multidb] Fixed the usage of the connection during Query construction, and defer it until actual SQL construction. In practice this means the GROUP BY optimization we do will be correctly applied based on the connection the Query is executed against, as oppossed to the on the QuerySet is targeting at the time the GROUP BY items are added
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@10934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2009-06-06 19:38:29 +00:00 |
|
Alex Gaynor
|
91520ec364
|
[soc2009/multidb] Made filter SQL generation lazy when we aren't filtering on a specific field, also added additional tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@10923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2009-06-04 16:53:45 +00:00 |
|
Alex Gaynor
|
fbb6fda5f6
|
[soc2009/multidb] Fixed the usage of using() on QuerySets in conjuction with create(), added tests for this
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@10922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2009-06-04 16:13:14 +00:00 |
|
Alex Gaynor
|
9286db5145
|
[soc2009/multidb] Updated the test runner to support syncing all the databases django knows about so that tests can operate against more than one database
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@10895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2009-06-03 02:13:01 +00:00 |
|
Alex Gaynor
|
bce55b1aa8
|
[soc2009/multidb] Implemented a connections object that is responsible for tracking multiple database connections and lazily instantiating them. Also implemneted the DATABASES setting which replaces the various DATABASE_* settings
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@10892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2009-06-03 01:58:33 +00:00 |
|