c6b46b1 | James Bennett | 11 September 2009, 21:23:21 UTC | Move the (old, not Alex's current SoC one) multiple-db-support branch into the attic. git-svn-id: http://code.djangoproject.com/svn/django/branches/attic/multiple-db-support@11512 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 11 September 2009, 21:23:21 UTC |
694f44f | Jason Pellerin | 10 December 2006, 15:43:51 UTC | [multi-db] Merged trunk to [4188]. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4189 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 10 December 2006, 15:43:51 UTC |
55d7f65 | Jason Pellerin | 04 December 2006, 21:12:29 UTC | [multi-db] Merged trunk to [4158]. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4159 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 04 December 2006, 21:12:29 UTC |
0162eac | Jason Pellerin | 04 December 2006, 21:01:18 UTC | [multi-db] Merged trunk to [4100]. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4158 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 04 December 2006, 21:01:18 UTC |
478ebad | Jason Pellerin | 04 December 2006, 20:52:14 UTC | [multi-db] Merged trunk to [4050]. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4157 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 04 December 2006, 20:52:14 UTC |
b7a897e | Jason Pellerin | 04 December 2006, 20:29:44 UTC | [multi-db] Merged trunk to [4000]. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4156 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 04 December 2006, 20:29:44 UTC |
040f227 | Jason Pellerin | 04 December 2006, 19:58:49 UTC | [multi-db] Merged trunk to 3950. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4155 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 04 December 2006, 19:58:49 UTC |
2a58209 | Jason Pellerin | 04 December 2006, 19:28:11 UTC | [multi-db] Merged trunk to [3900]. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4154 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 04 December 2006, 19:28:11 UTC |
66c6389 | Jason Pellerin | 04 December 2006, 19:22:35 UTC | [multi-db] Updated install() to send post_syncdb when called outside of syncdb() git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4153 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 04 December 2006, 19:22:35 UTC |
e07dae7 | Jason Pellerin | 04 December 2006, 18:16:40 UTC | [multi-db] Merged trunk to [3890] git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4152 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 04 December 2006, 18:16:40 UTC |
261fb45 | Jason Pellerin | 04 December 2006, 18:04:55 UTC | [multi-db] Merge trunk to [3875]. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4151 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 04 December 2006, 18:04:55 UTC |
f821702 | Jason Pellerin | 29 November 2006, 20:16:50 UTC | [multi-db] Merge trunk to [3850]. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4142 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 29 November 2006, 20:16:50 UTC |
9a01534 | Jason Pellerin | 29 November 2006, 20:11:43 UTC | [multi-db] Merge trunk to [3825]. Some tests still failing. (previous commit was from tests/ dir only) git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4141 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 29 November 2006, 20:11:43 UTC |
08fe1b6 | Jason Pellerin | 29 November 2006, 20:10:10 UTC | [multi-db] Merge trunk to [3825]. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4140 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 29 November 2006, 20:10:10 UTC |
71012a4 | Jason Pellerin | 29 November 2006, 20:02:43 UTC | [multi-db] Merge trunk to [3812]. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4139 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 29 November 2006, 20:02:43 UTC |
f6d48b5 | Jason Pellerin | 29 November 2006, 19:51:54 UTC | [multi-db] Merge trunk to [3764]. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4138 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 29 November 2006, 19:51:54 UTC |
c000f6a | Jason Pellerin | 29 November 2006, 19:45:22 UTC | [multi-db] Fixed bug in execution of pending references in install. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4137 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 29 November 2006, 19:45:22 UTC |
e4e6bf0 | Jason Pellerin | 28 November 2006, 15:48:39 UTC | [multi-db] For all backends: commit only when a connection exists. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4127 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 28 November 2006, 15:48:39 UTC |
7e6d136 | Jason Pellerin | 28 November 2006, 03:56:40 UTC | [multi-db] Fixed bug in manager.get_installed_models() that caused installed models list to always have only one model. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4126 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 28 November 2006, 03:56:40 UTC |
91d6569 | Jason Pellerin | 28 November 2006, 03:45:50 UTC | [multi-db] Fixed bug in handling of inter-app pending statements on syncdb. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4125 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 28 November 2006, 03:45:50 UTC |
025be90 | Jason Pellerin | 27 November 2006, 17:17:08 UTC | [multi-db] Fixed another typo in get_sql_create for pending references. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4123 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 27 November 2006, 17:17:08 UTC |
e789a8b | Jason Pellerin | 27 November 2006, 16:50:00 UTC | [multi-db] Fixed bug in get_sql_create() where builder was looked up incorrectly for pending statements. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4122 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 27 November 2006, 16:50:00 UTC |
0c128ff | Jason Pellerin | 19 November 2006, 14:20:21 UTC | Fixed bug where assigning a connection though Class.objects.db would raise a NameError. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4086 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 November 2006, 14:20:21 UTC |
27bcc64 | Jason Pellerin | 17 September 2006, 19:12:04 UTC | [multi-db] Fixed bugs in connection handling and test database setup. All tests now pass for postgres backend. Still failures for mysql and sqlite3, others unknown. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3768 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 17 September 2006, 19:12:04 UTC |
ecb5b81 | Jason Pellerin | 15 September 2006, 02:24:38 UTC | [multi-db] Fixed orphan pending error message. Changed get_create_table to only fill pending if backend supports constraints. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3762 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 15 September 2006, 02:24:38 UTC |
c01d2f4 | Jason Pellerin | 14 September 2006, 20:43:30 UTC | [mult-db] Removed debug print. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3761 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 14 September 2006, 20:43:30 UTC |
b92f683 | Jason Pellerin | 14 September 2006, 20:18:24 UTC | [multi-db] Fixed bugs in handling of pending references. Fixed dropping of test database, and ensured that it drops even if syncdb() fails. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3760 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 14 September 2006, 20:18:24 UTC |
432070d | Jason Pellerin | 14 September 2006, 03:40:45 UTC | [multi-db] Fixed scoping bug that caused pending statements to execute too soon in install. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3757 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 14 September 2006, 03:40:45 UTC |
eb1357b | Jason Pellerin | 14 September 2006, 03:14:39 UTC | [multi-db] Fixed psycopg2 backend. Removed inheritence from local from all backend DatabaseWrappers. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3756 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 14 September 2006, 03:14:39 UTC |
b87d360 | Jason Pellerin | 14 September 2006, 02:50:59 UTC | [multi-db] Merge trunk to [3754]. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3755 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 14 September 2006, 02:50:59 UTC |
84f7a21 | Jason Pellerin | 08 September 2006, 16:35:39 UTC | [multi-db] Merge trunk to [3737]. Some tests still failing. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3739 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 08 September 2006, 16:35:39 UTC |
ae3896c | Jason Pellerin | 08 September 2006, 14:11:52 UTC | [multi-db] Minor documentation updates git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3738 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 08 September 2006, 14:11:52 UTC |
b17f250 | Jason Pellerin | 04 September 2006, 02:20:26 UTC | [multi-db] Merge trunk to [3661] git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3712 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 04 September 2006, 02:20:26 UTC |
5a58772 | Jason Pellerin | 27 August 2006, 20:45:32 UTC | [multi-db] Removed unused functions from django.core.management. Updated django.core.managment.get_sql_create to allow it to work without an active db connection. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3668 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 27 August 2006, 20:45:32 UTC |
be589f7 | Jason Pellerin | 27 August 2006, 19:40:49 UTC | [multi-db] Implemented django.core.managment.syncdb using db access through managers. This required changing the progress messages from prospective ('Installing... ') to retrospective ('Installed ... '). git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3667 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 27 August 2006, 19:40:49 UTC |
25ecf21 | Jason Pellerin | 27 August 2006, 16:36:27 UTC | [multi-db] Merge trunk to [3660]. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3665 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 27 August 2006, 16:36:27 UTC |
8c6c445 | Jason Pellerin | 27 August 2006, 16:23:57 UTC | [multi-db] Merge trunk to [3659]. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3664 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 27 August 2006, 16:23:57 UTC |
88b4149 | Jason Pellerin | 27 August 2006, 16:20:50 UTC | [multi-db] Merge trunk to [3658]. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3663 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 27 August 2006, 16:20:50 UTC |
ac28f82 | Jason Pellerin | 27 August 2006, 16:20:02 UTC | [multi-db] Merge trunk to [3657]. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3662 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 27 August 2006, 16:20:02 UTC |
f67b8c6 | Jason Pellerin | 23 August 2006, 02:42:15 UTC | [multi-db] Fixed typo in doc for django.db.connect. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3651 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 23 August 2006, 02:42:15 UTC |
d82245b | Adrian Holovaty | 22 August 2006, 16:46:32 UTC | [multi-db] Merged to [3646] git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3648 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 22 August 2006, 16:46:32 UTC |
f4a52d1 | Jason Pellerin | 20 August 2006, 16:11:02 UTC | [multi-db] Merge trunk to [3620] git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3621 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 20 August 2006, 16:11:02 UTC |
bec235d | Jason Pellerin | 14 August 2006, 01:03:32 UTC | [multi-db] Merge trunk to [3578] git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3581 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 14 August 2006, 01:03:32 UTC |
238c6ec | Jason Pellerin | 04 August 2006, 23:27:18 UTC | [multi-db] Merge trunk to [3522] git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3523 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 04 August 2006, 23:27:18 UTC |
08c4207 | Jason Pellerin | 01 August 2006, 22:21:11 UTC | [multi-db] Added first, incomplete draft of multiple db doc. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3513 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 01 August 2006, 22:21:11 UTC |
7062c65 | Jason Pellerin | 31 July 2006, 18:19:15 UTC | [multi-db] Merge trunk to [3501] git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3502 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 31 July 2006, 18:19:15 UTC |
e550c1e | Jason Pellerin | 25 July 2006, 18:49:18 UTC | [multi-db] Removed unused drop() method from Manager. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3448 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 25 July 2006, 18:49:18 UTC |
f4a776e | Jason Pellerin | 25 July 2006, 18:37:05 UTC | [multi-db] Added check in model validation for models related to other models using a different connection. Removed special-case stringifying of _default connection. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3447 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 25 July 2006, 18:37:05 UTC |
57208f6 | Jason Pellerin | 25 July 2006, 18:34:14 UTC | [multi-db] Added ``__str__`` to _default connection singleton. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3446 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 25 July 2006, 18:34:14 UTC |
3cc04ec | Jason Pellerin | 25 July 2006, 00:47:55 UTC | [multi-db] Updated django.core.management to use SchemaBuilder for each model to create sequence reset statements. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3444 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 25 July 2006, 00:47:55 UTC |
6bd4b27 | Jason Pellerin | 25 July 2006, 00:46:49 UTC | [multi-db] Updated django.db.backends.postgresql.creation to use postgres-specific SchemaBuilder subclass. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3443 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 25 July 2006, 00:46:49 UTC |
6c65e61 | Jason Pellerin | 25 July 2006, 00:45:43 UTC | [multi-db] Added postgresql-specific SchemaBuilder subclass that includes method for sequence resets. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3442 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 25 July 2006, 00:45:43 UTC |
14f8c83 | Jason Pellerin | 23 July 2006, 04:05:30 UTC | [multi-db] Backed out settings access through conf.settings, which was based on an incorrect understanding of settings implementation. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3430 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 23 July 2006, 04:05:30 UTC |
94ccedf | Jason Pellerin | 23 July 2006, 04:01:15 UTC | [multi-db] Corrected settings handling in isolation tests. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3429 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 23 July 2006, 04:01:15 UTC |
5b964ba | Jason Pellerin | 23 July 2006, 03:33:48 UTC | [multi-db] Removed debug print that should not have been checked in. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3428 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 23 July 2006, 03:33:48 UTC |
438c23a | Jason Pellerin | 23 July 2006, 03:31:52 UTC | [multi-db] Merge trunk to [3426] git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3427 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 23 July 2006, 03:31:52 UTC |
d345b89 | Jason Pellerin | 21 July 2006, 22:05:38 UTC | [multi-db] Removed unneed import. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3419 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 21 July 2006, 22:05:38 UTC |
88c64cc | Jason Pellerin | 21 July 2006, 22:00:25 UTC | [multi-db] Expanded request-isolation tests. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3418 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 21 July 2006, 22:00:25 UTC |
bbe357f | Jason Pellerin | 21 July 2006, 21:59:54 UTC | [multi-db] Added tests for thread isolation of db-related settings. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3417 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 21 July 2006, 21:59:54 UTC |
e655cc3 | Jason Pellerin | 21 July 2006, 21:59:17 UTC | [multi-db] Reimplemented local proxying django.db.connection et al to be more clear and thread safe. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3416 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 21 July 2006, 21:59:17 UTC |
422aadf | Jason Pellerin | 21 July 2006, 18:15:02 UTC | [multi-db] Updated runshell() calls to accept settings. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3412 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 21 July 2006, 18:15:02 UTC |
e2385e3 | Jason Pellerin | 20 July 2006, 15:27:49 UTC | [multi-db] Moved DateTimeField and TimeField microsecond adjustments from get_db_prep_save to pre_save, since they depend on database settings and get_db_prep_save does not have access to the model instance to which the field is bound. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3394 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 20 July 2006, 15:27:49 UTC |
a6064b2 | Jason Pellerin | 19 July 2006, 22:22:31 UTC | [multi-db] Added first request isolation tests (testing that database settings can safely change between requests). git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3391 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 22:22:31 UTC |
b8cc630 | Jason Pellerin | 19 July 2006, 22:21:37 UTC | [multi-db] Fixed bug in request isolation of ConnectionInfoDescriptor. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3390 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 22:21:37 UTC |
c705f3a | Jason Pellerin | 19 July 2006, 18:59:50 UTC | [multi-db] Integrated drop table generation from ansi sql, updated model connection name access to use django.db.model_connection_name(). git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3389 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 18:59:50 UTC |
58b24ac | Jason Pellerin | 19 July 2006, 18:58:41 UTC | [multi-db] Updated ansi sql test to reflect that drop table output is not reversed by default. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3388 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 18:58:41 UTC |
9b84da4 | Jason Pellerin | 19 July 2006, 18:58:03 UTC | [multi-db] Removed reverse() from drop table output. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3387 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 18:58:03 UTC |
d67abd9 | Jason Pellerin | 19 July 2006, 18:57:26 UTC | [multi-db] Moved ConnectionInfoDescriptor to django.db, updated imports accordingly. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3386 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 18:57:26 UTC |
5b6017e | Jason Pellerin | 19 July 2006, 18:56:31 UTC | [multi-db] Moved ConnectionInfoDescriptor() from manager to django.db, added model_connection_name() function in django.db. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3385 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 18:56:31 UTC |
439b814 | Jason Pellerin | 19 July 2006, 18:10:19 UTC | [multi-db] Added workarounds for model-loading to allow in-module models to appear in get_models(). git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3384 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 18:10:19 UTC |
72b4c4c | Jason Pellerin | 19 July 2006, 18:09:32 UTC | [multi-db] Made some minor formatting/line-length adjustments git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3383 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 18:09:32 UTC |
cf48f3c | Jason Pellerin | 19 July 2006, 16:40:16 UTC | [multi-db] Fixed broken tests. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3382 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 16:40:16 UTC |
89ec26a | Jason Pellerin | 19 July 2006, 16:38:57 UTC | [multi-db] Updated runtests.py to load TEST_DATABASE_MODEL settings into settings.OTHER_DATABASES before test run. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3381 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 16:38:57 UTC |
c5d0e1a | Jason Pellerin | 19 July 2006, 14:58:46 UTC | [multi-db] Updated query builder functions to use opts.get_default_manager() to access db connection where only options are available. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3380 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 14:58:46 UTC |
3235682 | Jason Pellerin | 19 July 2006, 14:57:42 UTC | [multi-db] Added weakref to model in Options (self._model) and method Options.get_default_manager(). git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3379 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 14:57:42 UTC |
f350bcf | Jason Pellerin | 19 July 2006, 14:39:18 UTC | [multi-db] Updated tests/othertests/manager_schema_manipulation to use OTHER_DATABASES settings and access db connection through model._default_manager.db. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3378 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 14:39:18 UTC |
b8d27f0 | Jason Pellerin | 19 July 2006, 14:30:00 UTC | [multi-db] Updated tests/othertests/ansi_sql.py to access db connection info through model._default_manager. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3377 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 14:30:00 UTC |
6b63e85 | Jason Pellerin | 19 July 2006, 02:46:18 UTC | [multi-db] Began updating models.db.query to access connection through manager (work in progress). git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3370 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 02:46:18 UTC |
f51a9fa | Jason Pellerin | 19 July 2006, 02:43:38 UTC | [multi-db] Updated multiple_databases tests to use OTHER_DATABASES setting. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3369 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 02:43:38 UTC |
a5caa0a | Jason Pellerin | 19 July 2006, 02:41:56 UTC | [multi-db] Added MODELS settings to TEST_DATABASES. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3368 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 02:41:56 UTC |
ed4e198 | Jason Pellerin | 19 July 2006, 02:38:31 UTC | Updated ansi sql schema builder to access db connection through model._default_manager. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3367 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 02:38:31 UTC |
8b77fe3 | Jason Pellerin | 19 July 2006, 02:36:45 UTC | [multi-db] Updated related fields to get db connection from model._default_manager. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3366 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 02:36:45 UTC |
6230654 | Jason Pellerin | 19 July 2006, 02:32:40 UTC | [multi-db] Updated Model and its utility functions to access the db connection through the default manager. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3365 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 02:32:40 UTC |
e0486bd | Jason Pellerin | 19 July 2006, 02:31:44 UTC | [multi-db] Removed connection information and db_connection from model Meta. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3364 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 02:31:44 UTC |
22afa65 | Jason Pellerin | 19 July 2006, 02:28:58 UTC | [multi-db] Added basic tests for Manager.db attribute. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3363 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 02:28:58 UTC |
d96e3c9 | Jason Pellerin | 19 July 2006, 02:28:24 UTC | [multi-db] Added ConnectionInfoDescriptor and attached it as db attribute in Manager class. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3361 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 19 July 2006, 02:28:24 UTC |
541ac3b | Jason Pellerin | 16 July 2006, 23:11:33 UTC | [multi-db] Merge trunk to [3354] git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3355 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 16 July 2006, 23:11:33 UTC |
49ce784 | Jason Pellerin | 11 July 2006, 20:38:27 UTC | [multi-db] Changed name of optional named databases setting to OTHER_DATABASES. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3335 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 11 July 2006, 20:38:27 UTC |
97d1f60 | Jason Pellerin | 11 July 2006, 20:37:07 UTC | [multi-db] Refactored connection handling to correct bugs in original design relating to thread and request isolation. Changed name of optional named databases attribute in settings to settings.OTHER_DATABASES. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3334 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 11 July 2006, 20:37:07 UTC |
c0132e8 | Jason Pellerin | 11 July 2006, 03:16:28 UTC | [multi-db] Added preliminary drop-table generation to django.db.backends.ansi.sql.SchemaBuilder. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3320 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 11 July 2006, 03:16:28 UTC |
3e56234 | Jason Pellerin | 10 July 2006, 20:02:15 UTC | [multi-db] Removed sql functions that have been moved to django.db.backends.ansi.sql. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3316 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 10 July 2006, 20:02:15 UTC |
47d20cb | Jason Pellerin | 10 July 2006, 19:40:32 UTC | [multi-db] Updated django.core.management.get_sql_initial_data to use each model's connection info. Removed unused style argument from builder.get_initialdata. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3315 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 10 July 2006, 19:40:32 UTC |
7ac06ee | Jason Pellerin | 10 July 2006, 19:36:16 UTC | [multi-db] Minor refactoring: moved collation of sql statements by connection name to function. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3314 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 10 July 2006, 19:36:16 UTC |
541f4e9 | Jason Pellerin | 10 July 2006, 19:27:40 UTC | [multi-db] Updated django.core.management.get_sql_indexes to use each model's connection info. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3313 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 10 July 2006, 19:27:40 UTC |
ef1a9ee | Jason Pellerin | 09 July 2006, 17:11:34 UTC | [multi-db] Merge trunk to [3302] git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3303 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 09 July 2006, 17:11:34 UTC |
6094732 | Jason Pellerin | 07 July 2006, 21:31:16 UTC | [multi-db] Updated tests to expect pendings in dict format instead of list. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3293 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 07 July 2006, 21:31:16 UTC |
c108707 | Jason Pellerin | 07 July 2006, 21:30:03 UTC | [multi-db] Updated django.core.management to use pending dicts correctly, and refactored get_sql_create() function to use manager and creation module builder as appropriate. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3292 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 07 July 2006, 21:30:03 UTC |
bbc82d0 | Jason Pellerin | 07 July 2006, 21:28:47 UTC | [multi-db] Updated Manager to use pendings dicts correctly, and added get_table_list and get_installed_apps methods. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3291 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 07 July 2006, 21:28:47 UTC |
774026e | Jason Pellerin | 07 July 2006, 21:27:27 UTC | [multi-db] Added _app_model_order to django.db.models.loading, a dict of models keyed by app label in which the models for the app are listed in the order in which they were created. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3290 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 07 July 2006, 21:27:27 UTC |
0d9dee0 | Jason Pellerin | 07 July 2006, 21:25:49 UTC | [multi-db] Updated ansi sql SchemaBuilder to track pendings as dicts keyed by the model they depend on. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3289 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | 07 July 2006, 21:25:49 UTC |