Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #24351 -- Removed support for the old ↵ | Tim Graham | 2015-09-24 | 1 | -23/+1 |
| | | | | allow_migrate() signature per deprecation timeline. | ||||
* | Fixed #25175 -- Renamed the postgresql_psycopg2 database ↵ | Caio Ariede | 2015-08-07 | 1 | -2/+10 |
| | | | | backend to postgresql. | ||||
* | Fixed db.utils.load_backend() on non-ASCII paths. | Tim Graham | 2015-07-17 | 1 | -2/+2 |
| | |||||
* | Filtered out 'base' from database backend choices error ↵ | Tim Graham | 2015-07-15 | 1 | -1/+1 |
| | | | | message. | ||||
* | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | 2015-06-24 | 1 | -3/+3 |
| | | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | ||||
* | Fixed #24979 -- Removed usage of inspect.getargspec(). | Tim Graham | 2015-06-15 | 1 | -2/+10 |
| | |||||
* | Fixed flake8 warnings on Python 3. | Tim Graham | 2015-06-15 | 1 | -1/+1 |
| | |||||
* | Fixed #23820 -- Supported per-database time zone. | Aymeric Augustin | 2015-05-17 | 1 | -1/+1 |
| | | | | | | | | | The primary use case is to interact with a third-party database (not primarily managed by Django) that doesn't support time zones and where datetimes are stored in local time when USE_TZ is True. Configuring a PostgreSQL database with the TIME_ZONE option while USE_TZ is False used to result in silent data corruption. Now this is an error. | ||||
* | Fixed #24394 -- Allowed running tests with empty default ↵ | Andrei Kulakov | 2015-03-25 | 1 | -0/+3 |
| | | | | dictionary. | ||||
* | Fixed #24351, #24346 -- Changed the signature of ↵ | Loic Bistuer | 2015-02-20 | 1 | -6/+29 |
| | | | | | | | | | | | | | | | | allow_migrate(). The new signature enables better support for routing RunPython and RunSQL operations, especially w.r.t. reusable and third-party apps. This commit also takes advantage of the deprecation cycle for the old signature to remove the backward incompatibility introduced in #22583; RunPython and RunSQL won't call allow_migrate() when when the router has the old signature. Thanks Aymeric Augustin and Tim Graham for helping shape up the patch. Refs 22583. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -4/+3 |
| | |||||
* | Removed support for old-style test database settings per ↵ | Tim Graham | 2015-01-17 | 1 | -39/+0 |
| | | | | deprecation timeline. | ||||
* | Removed fallback suport for allow_syncdb() in database ↵ | Tim Graham | 2015-01-17 | 1 | -8/+1 |
| | | | | routers per deprecation timeline. | ||||
* | Fixed #22583 -- Allowed RunPython and RunSQL to provide ↵ | Loic Bistuer | 2015-01-09 | 1 | -2/+2 |
| | | | | | | hints to the db router. Thanks Markus Holtermann and Tim Graham for the review. | ||||
* | Fixed #21255 -- Closed connections after management ↵ | Claude Paroz | 2014-12-29 | 1 | -0/+8 |
| | | | | | | | command ran Thanks kabakov.as@gmail.com for the report, and Aymeric Augustin, Simon Charette for the reviews. | ||||
* | Restored the 'TEST_' prefix in the warning about ↵ | Shai Berger | 2014-12-01 | 1 | -1/+1 |
| | | | | deprecated test database settings | ||||
* | Fixed #21755 -- Added ForeignKey support to REQUIRED_FIELDS. | Anubhav Joshi | 2014-07-03 | 1 | -4/+4 |
| | | | | | | | This allows specifying ForeignKeys in REQUIRED_FIELDS when using a custom User model. Thanks cjerdonek and bmispelon for suggestion and timgraham for review. | ||||
* | Silenced deprecation warnings for refs #22811 and fixed ↵ | Tim Graham | 2014-06-12 | 1 | -1/+1 |
| | | | | build. | ||||
* | Fixed #22811 -- Allowed setting both the old and new ↵ | Tim Graham | 2014-06-12 | 1 | -7/+19 |
| | | | | | | TEST database settings. An ImproperlyConfigured exception will be raised they mismatch. | ||||
* | Fixed #21430 -- Added a RuntimeWarning when unpickling ↵ | Anubhav Joshi | 2014-06-11 | 1 | -0/+1 |
| | | | | | | | Models and QuerySets from a different Django version. Thanks FunkyBob for the suggestion, prasoon2211 for the initial patch, and akaariai, loic, and charettes for helping in shaping the patch. | ||||
* | Removed deprecated TRANSACTIONS_MANAGED setting. | Aymeric Augustin | 2014-03-21 | 1 | -6/+1 |
| | |||||
* | Fixed the last fix for database test settings to work ↵ | Shai Berger | 2014-03-09 | 1 | -1/+1 |
| | | | | with Python3. | ||||
* | Fixed test breakage following test-settings enhancements | Shai Berger | 2014-03-09 | 1 | -0/+3 |
| | |||||
* | Reorganized the database test settings | Shai Berger | 2014-03-09 | 1 | -2/+36 |
| | | | | | | | | | | Change database test settings from "TEST_"-prefixed entries in the database settings dictionary to setting in a dictionary that is itself an entry "TEST" in the database settings. Refs #21775 Thanks Josh Smeaton for review. | ||||
* | Fixed #21188 -- Introduced subclasses for ↵ | Claude Paroz | 2014-03-08 | 1 | -2/+3 |
| | | | | | | | to-be-removed-in-django-XX warnings Thanks Anssi Kääriäinen for the idea and Simon Charette for the review. | ||||
* | Silence deprecation warnings. | Marc Tamlyn | 2014-02-09 | 1 | -2/+2 |
| | | | | | | | Also they should only be raised if allow_syncdb does exist, not just if allow_migrate does not. Refs comments on 250841017c6c456806cadd214b4e130aa998233d | ||||
* | Raise (pending) deprecation warning for allow_syncdb. | Marc Tamlyn | 2014-02-09 | 1 | -0/+4 |
| | |||||
* | Fixed #21674 -- Deprecated the import_by_path() function ↵ | Berker Peksag | 2014-02-08 | 1 | -2/+2 |
| | | | | | | in favor of import_string(). Thanks Aymeric Augustin for the suggestion and review. | ||||
* | Changed get_migratable_models to use an app config. | Aymeric Augustin | 2013-12-29 | 1 | -4/+3 |
| | |||||
* | Renamed AppCache to Apps. | Aymeric Augustin | 2013-12-24 | 1 | -2/+2 |
| | | | | | | Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready(). | ||||
* | Moved apps back in the toplevel django namespace. | Aymeric Augustin | 2013-12-22 | 1 | -1/+1 |
| | | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2. | ||||
* | Moved the new app cache inside core. | Aymeric Augustin | 2013-12-17 | 1 | -1/+1 |
| | |||||
* | Removed module-level functions for the app cache. | Aymeric Augustin | 2013-12-17 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Since the original ones in django.db.models.loading were kept only for backwards compatibility, there's no need to recreate them. However, many internals of Django still relied on them. They were also imported in django.db.models. They never appear in the documentation, except a quick mention of get_models and get_app in the 1.2 release notes to document an edge case in GIS. I don't think that makes them a public API. This commit doesn't change the overall amount of global state but clarifies that it's tied to the app_cache object instead of hiding it behind half a dozen functions. | ||||
* | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | 2013-11-02 | 1 | -1/+0 |
| | |||||
* | Fixed #21287 -- Fixed E123 pep8 warnings | Alasdair Nicol | 2013-10-18 | 1 | -1/+1 |
| | |||||
* | Add get_migratable_models util method to ConnectionRouter | Claude Paroz | 2013-10-16 | 1 | -0/+8 |
| | |||||
* | Fixed #21109 -- made db cursor error wrapping faster | Anssi Kääriäinen | 2013-09-17 | 1 | -1/+2 |
| | |||||
* | Merge remote-tracking branch 'core/master' into ↵ | Andrew Godwin | 2013-08-09 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | schema-alteration Conflicts: django/core/management/commands/flush.py django/core/management/commands/syncdb.py django/db/models/loading.py docs/internals/deprecation.txt docs/ref/django-admin.txt docs/releases/1.7.txt | ||||
| * | Deprecated django.utils.importlib | Claude Paroz | 2013-07-29 | 1 | -2/+2 |
| | | | | | | | | This was a shim for pre-Python 2.7 support. | ||||
* | | Rename allow_syncdb to allow_migrate | Andrew Godwin | 2013-07-30 | 1 | -2/+5 |
|/ | |||||
* | Removed some conditional code only needed under Python 2.6. | Aymeric Augustin | 2013-07-01 | 1 | -6/+1 |
| | |||||
* | Advanced deprecation warnings for Django 1.7. | Aymeric Augustin | 2013-06-29 | 1 | -1/+1 |
| | |||||
* | Fixed #17601 -- expose underlying db exceptions under py2 | James Aylett | 2013-06-04 | 1 | -2/+1 |
| | | | | | Use __cause__ to expose the underlying database exceptions even under python 2. | ||||
* | Fixed a regression in router initialization | Claude Paroz | 2013-05-24 | 1 | -2/+3 |
| | | | | | Regression was introduced in 6a6bb168b. Thanks Bas Peschier for the report. | ||||
* | Delayed settings.DATABASE_ROUTERS usage by ConnectionRouter | Claude Paroz | 2013-05-23 | 1 | -4/+13 |
| | | | | Refs #20474. | ||||
* | Delayed settings.DATABASES usage by ConnectionHandler | Claude Paroz | 2013-05-23 | 1 | -6/+18 |
| | | | | Refs #20474. | ||||
* | Fixed #20215 -- Disabled persistent connections by default. | Aymeric Augustin | 2013-05-09 | 1 | -1/+1 |
| | |||||
* | Deprecated TransactionMiddleware and TRANSACTIONS_MANAGED. | Aymeric Augustin | 2013-03-11 | 1 | -0/+8 |
| | | | | | | | Replaced them with per-database options, for proper multi-db support. Also toned down the recommendation to tie transactions to HTTP requests. Thanks Jeremy for sharing his experience. | ||||
* | Fixed tests broken in 2ee21d9. | Aymeric Augustin | 2013-02-28 | 1 | -0/+3 |
| | |||||
* | Implemented persistent database connections. | Aymeric Augustin | 2013-02-28 | 1 | -4/+11 |
| | | | | Thanks Anssi Kääriäinen and Karen Tracey for their inputs. |