summaryrefslogtreecommitdiff
path: root/tests/regressiontests/multiple_database/models.py
AgeCommit message (Collapse)Author
2009-12-18[soc2009/multidb] Cleaned up the interaction between managers and the ↵Alex Gaynor
using() method by the addition of a db_manager() method. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-17[soc2009/multidb] Modified using= arguments to default to None; modified ↵Alex Gaynor
querysets so you can track explicit database assignments. Patch from Russell Keith-Magee. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-17[soc2009/multidb] Add multi-db support to fixture loading. Involves a rework ↵Alex Gaynor
of models in the multi-db test cases to make the fixture a complete test case. Patch from Russell Keith-Magee. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11891 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-17[soc2009/multidb] Updated contrib.auth User model for multi-db support. ↵Alex Gaynor
Patch from Russell Keith-Magee. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-17[soc2009/multidb] Updated content types to be multidb aware. Patch from ↵Alex Gaynor
Russell Keith-Magee. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-23[soc2009/multidb] Added test cases for cross-database assignment. Patch ↵Alex Gaynor
from Russell Keith-Magee. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-23[soc2009/multidb] Updated testing services to handle multiple databases ↵Alex Gaynor
better. Includes extra tests (some failing) for multiple database support. Patch from Russell Keith-Magee. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-09[soc2009/multidb] Added tests for using foreign keys across multipled ↵Alex Gaynor
databases, ManyToMany tests will come after the merger of my many-to-many refactor work. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11425 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-01[soc2009/multidb] Added a using option to a Model's Meta class. This allows ↵Alex Gaynor
you to select the default database for a specific model, in addition to the global default git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-04[soc2009/multidb] Made filter SQL generation lazy when we aren't filtering ↵Alex Gaynor
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-03[soc2009/multidb] Updated the test runner to support syncing all the ↵Alex Gaynor
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[soc2009/multidb] Implemented a connections object that is responsible for ↵Alex Gaynor
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