| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-02-17 | Added an import to docs/topics/testing/advanced.txt example. | Tim Graham | |
| 2015-02-17 | Refs #24324 -- Fixed get_app_template_dirs() UnicodeDecodeError on Python 2. | Tim Graham | |
| The function implemented most of upath(), but skipped the check for strings that are already unicode. | |||
| 2015-02-17 | Refs #24324 -- Fixed UnicodeDecodeError in makemigrations. | Tim Graham | |
| If the project path contained a non-ASCII character, Python 2 crashed. | |||
| 2015-02-17 | Refs #24324 -- Fixed UnicodeEncodeError in SQLite backend while testing. | Tim Graham | |
| If 'name' contained non-ASCII characters, the comparison raised a UnicodeEncodeError on Python 2. | |||
| 2015-02-17 | Refs #24324 -- Fixed makemessages crash when Django is installed in a ↵ | Tim Graham | |
| non-ASCII path. | |||
| 2015-02-17 | Refs #24324 -- Fixed UnicodeDecodeError in model_regress test on non-ASCII path. | Tim Graham | |
| 2015-02-17 | Refs #24324 -- Fixed management command discovery on non-ASCII paths. | Tim Graham | |
| 2015-02-17 | Fixed #24290 -- Skipped postgres_tests if not running with PostgreSQL. | Tim Graham | |
| 2015-02-16 | Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for ↵ | Tim Graham | |
| contrib.postgres). | |||
| 2015-02-16 | Moved contrib.contenttypes tests out of contrib. | Tim Graham | |
| 2015-02-16 | Fixed #24350 -- Freshened up database install topic section. | Tim Graham | |
| 2015-02-16 | Fixed #24299 -- Added an auth migration to ensure contenttypes is migrated. | Tim Graham | |
| Without this migration, the auth signal handlers will fail if migrating only auth. | |||
| 2015-02-16 | Removed a note about old versions of MySQLdb. | Tim Graham | |
| 2015-02-16 | Refs #24299 -- Made contenttypes migrations signal handler more robust. | Sergey Fedoseev | |
| 2015-02-16 | Added tests for get_related_models_recursive | Markus Holtermann | |
| 2015-02-16 | Fixed #24225, #24264, #24282 -- Rewrote model reloading in migration project ↵ | Markus Holtermann | |
| state Instead of naively reloading only directly related models (FK, O2O, M2M relationship) the project state needs to reload their relations as well as the model changes as well. Furthermore inheriting models (and super models) need to be reloaded in order to keep inherited fields in sync. To prevent endless recursive calls an iterative approach is taken. | |||
| 2015-02-16 | Refs #24282 -- Added failing test case for assigning models of wrong type to FK | Markus Holtermann | |
| Thanks Jeff Singer for the test case. | |||
| 2015-02-16 | Refs #24264 -- Added failing test case for updating a FK when changing a PK | Markus Holtermann | |
| When the primary key column is altered, foreign keys of referencing models must be aware of a possible data type change as well and thus need to be re-rendered. Thanks Tim Graham for the report. | |||
| 2015-02-16 | Refs #24225 -- Added failing test case for removing a previously added field ↵ | Claude Paroz | |
| in migrations When a related field is deleted, the related model must be updated. As unchanged models are shared in migration states, the related model must be re-rendered so that the change applies to a new copy of the related model. Thanks Henrik Heimbuerger for the report. | |||
| 2015-02-16 | Removed unnecessary __init__ definition from DebugLexer. | Preston Timmons | |
| 2015-02-16 | Explicitly checked for LookupError in contenttypes migration | Markus Holtermann | |
| 2015-02-16 | Fixed #23892 -- Clarified compatibility policy for migrations. | Carl Meyer | |
| 2015-02-16 | Fixed #24345 -- Isolated sitemaps_tests from contenttypes_tests; refs #11505 | Marten Kenbeek | |
| 2015-02-16 | Reworked docstrings and comments in related.py. | Loic Bistuer | |
| Thanks Tim Graham for the review. | |||
| 2015-02-16 | Merged ManyRelatedObjectsDescriptor and ReverseManyRelatedObjectsDescriptor | Loic Bistuer | |
| and made all "many" related objects descriptors inherit from ForeignRelatedObjectsDescriptor. | |||
| 2015-02-15 | Added new "W503 line break before binary operator" warning to flake8 ignore. | Tim Graham | |
| 2015-02-15 | Deprecated TEMPLATE_DEBUG setting. | Aymeric Augustin | |
| 2015-02-15 | Documented how to set up the Jinja2 environment. | Aymeric Augustin | |
| This may also help with "Why do context processors not work in Jinja2 templates?" etc. | |||
| 2015-02-14 | Isolated auth_tests from contenttypes_tests; refs #11505. | Tim Graham | |
| 2015-02-14 | Added missing return value to DurationField.prepare_value(); refs #24339. | Michael Angeletti | |
| 2015-02-14 | Removed 'autocommit' options for the psycopg2 backend. | Aymeric Augustin | |
| It was documented as not having any effect since Django 1.6. | |||
| 2015-02-14 | Cleaned up init_connection_state in the psycopg2 backend. | Aymeric Augustin | |
| settings_dict['TIME_ZONE'] is set in ConnectionHandler.ensure_defaults. | |||
| 2015-02-14 | Fixed #24318 -- Set the transaction isolation level with psycopg >= 2.4.2. | Aymeric Augustin | |
| 2015-02-14 | Fixed #24144 -- Documented that GEOSGeometry.envelope can return a point | Claude Paroz | |
| Thanks Manel Clos for the report. | |||
| 2015-02-14 | Fixed #24325 -- Documented change in ModelForm.save() foreign key access. | Tim Graham | |
| 2015-02-14 | Fixed #24339 -- Fixed crash with empty DurationField form field. | Michael Angeletti | |
| 2015-02-14 | Fixed #15779 -- Allowed 'add' primary key in admin edition | Claude Paroz | |
| Thanks Marwan Alsabbagh for the report, and Simon Charette and Tim Graham for the reviews. | |||
| 2015-02-14 | Fixed #24338 -- Accepted Template wrapper in {% extends %}. | Aymeric Augustin | |
| Explicitly checking for django.template.Template subclasses is preferrable to duck-typing because both the django.template.Template and django.template.backends.django.Template have a render() method. Thanks spectras for the report. | |||
| 2015-02-14 | Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many. | Loic Bistuer | |
| Thanks Carl Meyer and Tim Graham for the reviews and to all involved in the discussion. | |||
| 2015-02-13 | Fixed #24320 - Used field.value_to_string() in serialization of foreign key. | Andriy Sokolovskiy | |
| This fixes serialization of a ForeignKey to a UUIDField as the test indicates. | |||
| 2015-02-13 | Added missing parameter to each_context() in doc example. | Tim Graham | |
| 2015-02-13 | Added each_context() and a template tip to custom admin view docs. | Joe Simpson | |
| 2015-02-13 | Fixed #24315 -- Fixed auth.views.password_reset_confirm() with a UUID user. | Tim Graham | |
| 2015-02-13 | Fixed #24334 -- Allowed admin password reset to work with non-digit custom ↵ | Tim Graham | |
| user model primary key. Thanks Loic for help and Simon for review. | |||
| 2015-02-13 | Fixed #24184 -- Prevented automatic soft-apply of migrations | Markus Holtermann | |
| Previously Django only checked for the table name in CreateModel operations in initial migrations and faked the migration automatically. This led to various errors and unexpected behavior. The newly introduced --fake-initial flag to the migrate command must be passed to get the same behavior again. With this change Django will bail out in with a "duplicate relation / table" error instead. Thanks Carl Meyer and Tim Graham for the documentation update, report and review. | |||
| 2015-02-13 | Removed explicit pointers to migration modules for contrib apps in runtest | Markus Holtermann | |
| Thanks Tim Graham for the patch | |||
| 2015-02-13 | Refs #22962 -- Made test case use non-conflicting table names | Markus Holtermann | |
| 2015-02-13 | Fixed #24295 -- Allowed ModelForm meta to specify form field classes. | Loic Bistuer | |
| Thanks Carl Meyer and Markus Holtermann for the reviews. | |||
| 2015-02-13 | Fixed #24332 -- Fixed contrib.sites create_default_site() when 'default' ↵ | Tim Graham | |
| DATABASES is empty. | |||
| 2015-02-13 | Refs #14030 -- Added tests for Value aggregates | Josh Smeaton | |
