Branches

soc2009/multidb

View source
soc2009/multidb
Author Commit Message Labels Comments Date
250+ commits behind default.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated management commands to ensure that a database name is always available. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Whitespace and comment cleanup. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added versionadded tags to custom model field docs. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Cleaned up documentation for now stale using argument. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Final cleanup of multi-db docs. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated defer_regress tests to reflect extra models in multi-db branch. Patch from Russell Keith-Magee.
jbr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] `LayerMapping` and geographic sitemap views weren't using `DEFAULT_DB_ALIAS` as the default for `using` kwarg.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11938.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Removed another item from the TODO. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed a problem with overzealous purging of contenttypes during syncdb. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added documentation for usage of admin with multidb. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fix to allow editing of inline formsets of objects on non-default databases. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] A couple of cleanups of multi-db support for raw queries, including a using() call on raw query sets. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Remove cross database protection. This will be readded in a way that is more ammenable to master-slave and other mirroring schemes.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Correct the handling of raw and defered fields with multi-db.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11924.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11921. This does not include updating Manager.raw() for multiple database support.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11917.
jbr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed #12402 -- `QuerySet.defer` now interacts properly with `SQLCompiler` subclasses that implement `resolve_columns`.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Cleaned up the interaction between managers and the using() method by the addition of a db_manager() method.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11901.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11900.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated TODO list. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Modified admin to allow for multidb customization. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] More cleanups of using= arguments. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added using argument to comment view. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Modified using= arguments to default to None; modified querysets so you can track explicit database assignments. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added partial handling for comments to be multi-db compliant. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Add multi-db support to fixture loading. Involves a rework of models in the multi-db test cases to make the fixture a complete test case. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated contrib.auth User model for multi-db support. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated content types to be multidb aware. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11885.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed a problem with m2m descriptors not sticking to the right database. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed #11741 -- Updates to the spatial backends (e.g., re-enabled POSTGIS_VERSION setting); added geometry backend module. Patch from Justin Bronn.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Reorganized sql.InsertQuery to defer the need for a connection till later in the process. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Corrected some test errors introduced by merging trunk. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Clarified text of deprecation warnings. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added backwards compatibility layer for contrib.gis. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Corrected merge error. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11864.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11858.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged in all of Justin Bronn's GIS work. Multidb should now work fully with GIS. This is backwards incompatible, if you are using GIS, your ENGINE setting should now be django.contrib.gis.db.backends.XXX where XXX is the name of your DB backend. Thanks to Justin for all his work. This also resolves merge conflicts from the previous commit.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11810. There are many conflicts in this merge, these will be resolved in a subsequent commit.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added documentation about the potential complications trying to migrate an object between databases. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11804.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Corrected a typo in the get_db_prep_* migration notes. Thanks to Waldemar Kornewald for the report.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Removed a documentation reference to Meta.using. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Corrected error handling when the database backend is incorrectly specified. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11785.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Cleaned up the double processing required by validate() by splitting get_db_prep_* functions into db-specific and non-db-specific parts. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Minor grammar fixes to some error messages. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Modified database ENGINE handling to allow (with warnings) for short-form engine names in a DATABASES dictionary. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fix a number of tests when run under an old style settings (i.e. using the DATABASE_* settings).
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Resolved a number of strange merge conflicts that had arisen throughout various merges.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Corrected some markup problems in the release notes and added deprecation notes. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Renaming of database attributes - you now use NAME, ENGINE, etc rather than DATABASE_NAME, DATABASE_ENGINE inside DATABASES. Also deprecates the use of short names (.e.g., ``sqlite3`` for backends in ENGINE). Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added test cases for cross-database assignment. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Cleaned up check in aggregation_regress to remove the assumption that the only objects in __dict__ are field attributes. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added a fallback - if an object is unsaved and a related object is requested, default to the 'default' connection. This is required to preserve backwards compatibility. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fix the output method of DeserializedObject - we can't assume deserialized objects already exist in the database. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Removed _meta.using. This shouldn't be a model-level property. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Made instances sticky to the database that created them.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed some documentation markup problems. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added extra docs on configuring the database-backed session store. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated db-backed session to be multi-db compatible. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Several optimizations and cleanups. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated testing services to handle multiple databases better. Includes extra tests (some failing) for multiple database support. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Modified the fixture loading, fixture dumping and synchronization process to be multi-db aware. Patch from Russell Keith-Magee.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11760.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Split SQL construction into two seperate classes, the Query class which stores data about a query being constructed, and a Compiler class which generates SQL.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11756.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated to trunk r11603. This includes a critical security fix.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11467.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added a note to the documentation about the deprecation of the DATABASE_* settings.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added tests for using foreign keys across multipled databases, ManyToMany tests will come after the merger of my many-to-many refactor work.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Raise a ConnectionDoesNotExist exception, instead of a KeyError for an invaid connection
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fix the extra_regress tests to be more forward compatible.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Change a conditional to be more idiomatic.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fix the last commit.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed a naming inconsistancy in the transsaction decorators.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed the method_set_order function that is used with the order_with_respect to option to work in a multidb environ
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Removed duplicate cache in the Oracle backend.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11413.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed some exceptionally weird merging that git did. Bad git.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fix the remaining tests that were depending on the out of date setting.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fix a number of tests that were looking at settings.DATABASE_ENGINE, which has been deprecated in favor of the DATABASES interface
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Removed several tests that were no longer needed as they're tested elsehwere
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed a bug with the dates() queryset method and Oracle
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed a bug in the MySQL backend creation where it hadn't been updated for the recent API changes
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fix several bugs I introduced into the Oracle backend. Thanks to Karen Tracey\!
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Support multiple databases where one of them has a custom Query class. This needs more testing as I don't have access to Oracle (or DB2, or MSSQL, or Sybase)
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Correct the kwarg provided to warn.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Switched from using an ugly hacky wrapper to a Metaclass for maitaing backwards compatibility in the get_db_prep_* and db_type methods. Thanks to Jacob for the good idea.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Resolved a strange merge conflict.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated to trunk r11371.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Correctly handle pickling of Query objects, restoring them to the correct database.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Raise an exception at an attempt to do a subquery with 2 different databases. Eventually we'll just evaluate the 2 queries seperates.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11267.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added connection parameter to the get_db_prep_* family of functions. This allows us to generate the lookup and save values for Fields in a backend specific manner.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed a bug with EmptyQuerySet.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11251.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11240.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11205
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Replaced a lot of raw strings with the appropriate constant. Thanks to Igor Sobreira for reminding me about these.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added a using option to a Model's Meta class. This allows you to select the default database for a specific model, in addition to the global default
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] First set of documentation for multi-db
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11127
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added the start of documentation for multidb
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated the list of settings documentation for the move of the TEST_DATABASE_* settings
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11103. Resolved merge conflict
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated testing documentation for the new settings, also updated the TODO
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11079
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed running the admin_scripts tests under sqlite without having DATABASE_NAME set
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated the TODO to more accurately reflect the current state of things.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Added tests to ensure that objects aren't being created before they are supposed to be, which would indicate we weren't creating objects in the right DB.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Removed the as_sql_takes_connection option from various classes, it was originally just to allow the tests to pass while the code base was being migrated, it was not meant to remain
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated TODO to bring it up to date with the current state
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Ensure that when a QuerySet is given a Query object in its construct that we correct the detect the connection that is being used
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Removed a duplicate bit of docs that snuck in during a merge
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11068
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r11009
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r10973. Resolved merge conflicts
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed test failures that were introduced in r10943
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated DateQuery to work correctly with multiple databases
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged upto trunk r10941
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated the transactions documentation for parts of the API that were extended to support multiple databases.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated the contributing documentation for the settings changes
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[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
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r10931. Resolved the slight merge conflict
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Made reset_queries reset the queries for all connections
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Made filter SQL generation lazy when we aren't filtering on a specific field, also added additional tests
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Fixed the usage of using() on QuerySets in conjuction with create(), added tests for this
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] The various transaction functions now fallback to the "default" DB if none is specified, this preserves backwards compatibility
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Made the remove method on many to many related managers use the default database for transactions. This will eventually need to be changed as a part of a larger refactor of many to many fields
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated createcachetable management command for new multidb transaction API
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Correct the type signature on CommentFlag.save
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged multidb up to trunk r10914
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated the transaction decorators for use with multiple DB.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Bring this branch up to date with my external work. This means implementing the using method on querysets as well as a using kwarg on save and delete, plus many internal changes to facilitae this
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Updated several strings and internal API names to be more consistant and descriptive
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Removed several instances of unnescary usage of the global connection object, where instead we should be using the connection object for the given Query
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[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
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Purged all remaining references to DATABASE_* settings and TEST_DATABASE_* settings from the database backends, all of these settings have been moved into dictionaries in the DATABASES setting
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Coverted all applicable management commands to have a --database flag for signifying with database to preform the operations against.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[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
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2009/multidb] Merged up to trunk r10865
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Created "multidb" branch for Alex Gaynor's SoC project.