| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-02-24 | Fixed #24391 -- Made BoundField.value() cache callable values. | Michael Angeletti | |
| 2015-02-24 | Fixed #24395 -- Ensured inline ModelsForms have an updated related instance. | Stanislas Guerra | |
| 2015-02-24 | Cleaned up template directory handling in template tests. | Preston Timmons | |
| 2015-02-24 | Combined TemplateTests and TemplateRegressionTests. | Preston Timmons | |
| 2015-02-24 | Moved test_token_smart_split into ParserTests. | Preston Timmons | |
| 2015-02-24 | Moved ifchanged tests into syntax_tests/test_if_changed.py. | Preston Timmons | |
| 2015-02-24 | Moved cache tests into syntax_tests/test_cache.py. | Preston Timmons | |
| 2015-02-24 | Moved RequestContextTests into test_context. | Preston Timmons | |
| 2015-02-24 | Moved TemplateTagLoading cases into test_custom. | Preston Timmons | |
| 2015-02-24 | Moved include tests into syntax_tests/test_include.py. | Preston Timmons | |
| 2015-02-24 | Moved ssi tests into syntax_tests/test_ssi.py. | Preston Timmons | |
| 2015-02-24 | Cleaned up template loader tests. | Preston Timmons | |
| 2015-02-24 | Fixed typos in flatpages_tests comments. | Nik Nyby | |
| 2015-02-23 | Made migrations tests write to a temporary directory. | Aymeric Augustin | |
| This is preferrable to writing in the current working directory because it eliminates the risk to leak unwanted files, which can result in very weird test failures. Also this will help if we ever try to run these tests concurrently. | |||
| 2015-02-23 | Fixed a test failure under Windows and Python 2. | Aymeric Augustin | |
| 2015-02-23 | Normalized usage of the tempfile module. | Aymeric Augustin | |
| Specifically stopped using the dir argument. | |||
| 2015-02-23 | Guaranteed removal of temporary files during tests. | Aymeric Augustin | |
| Dropped the DJANGO_TEST_TEMP_DIR environment variable. Before this change, proper removal depended on the developer passing dir=os.environ['DJANGO_TEST_TMP_DIR'] to tempfile functions. | |||
| 2015-02-23 | Fixed #24377 -- Fixed model inline formsets with primary key's that have ↵ | Tim Graham | |
| defaults. | |||
| 2015-02-23 | Fixed #24381 -- removed ForeignObjectRel opts and to_opts | Anssi Kääriäinen | |
| These cached properies were causing problems with pickling, and in addition they were confusingly defined: field.rel.model._meta was not the same as field.rel.opts. Instead users should use field.rel.related_model._meta inplace of field.rel.opts, and field.rel.to._meta in place of field.rel.to_opts. | |||
| 2015-02-23 | Fixed #24366 -- Optimized traversal of large migration dependency graphs. | Marten Kenbeek | |
| Switched from an adjancency list and uncached, iterative depth-first search to a Node-based design with direct parent/child links and a cached, recursive depth-first search. With this change, calculating a migration plan for a large graph takes several seconds instead of several hours. Marked test `migrations.test_graph.GraphTests.test_dfs` as an expected failure due to reaching the maximum recursion depth. | |||
| 2015-02-22 | Removed rmtree_errorhandler. | Aymeric Augustin | |
| The stated reason for its introduction in d18d37ce no longer applies since Django's code repository was switched from Subversion to git. Furthermore it never had any effect because shutil.rmtree ignores its onerror argument when ignore_errors is True. The reason for its use in template management commands is unclear. | |||
| 2015-02-22 | Fixed #24389 -- Isolated the CSRF view from the TEMPLATES setting. | Aymeric Augustin | |
| Thanks uranusjr for the report and analysis. | |||
| 2015-02-21 | Fixed #24376 -- added verbose_name arg to UUIDField | Michael Angeletti | |
| 2015-02-21 | Removed obsolete reference to media directory. | Aymeric Augustin | |
| 2015-02-21 | Removed workaround for SVN limitations. | Aymeric Augustin | |
| In addition to simplifying the code, this reduces the number of writes. | |||
| 2015-02-21 | Avoided collecting admin static files in tests. | Aymeric Augustin | |
| This makes the staticfiles tests 2.5 times faster. | |||
| 2015-02-21 | Removed TestServeAdminMedia. | Aymeric Augustin | |
| It should have been removed when the ADMIN_MEDIA_PREFIX setting was deprecated. | |||
| 2015-02-21 | Fixed allow_migrate signature in one of the tests. | Loic Bistuer | |
| Refs #24351. | |||
| 2015-02-20 | Fixed #24341 -- Added specific error messages to RangeField subclasses | foresmac | |
| 2015-02-20 | Fixed #24328 -- cleaned up Options._get_fields() implementation | Anssi Kääriäinen | |
| 2015-02-20 | Fixed #24351, #24346 -- Changed the signature of allow_migrate(). | Loic Bistuer | |
| 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. | |||
| 2015-02-20 | Fixed #24373 -- Added run_validators to ArrayField. | Marc Tamlyn | |
| Thanks to DavidMuller for the report. | |||
| 2015-02-20 | Update converters to take a consistent set of parameters. | Marc Tamlyn | |
| As suggested by Anssi. This has the slightly strange side effect of passing the expression to Expression.convert_value has the expression passed back to it, but it allows more complex patterns of expressions. | |||
| 2015-02-20 | Fixed #24343 -- Ensure db converters are used for foreign keys. | Marc Tamlyn | |
| Joint effort between myself, Josh, Anssi and Shai. | |||
| 2015-02-19 | Fixed typo in error message in the test. | Tim Graham | |
| 2015-02-19 | Set context.template instead of context.engine while rendering. | Aymeric Augustin | |
| This opens more possibilities, like accessing context.template.origin. It also follows the chain of objects instead of following a shortcut. | |||
| 2015-02-19 | Fixed #20889 -- Prevented BadHeaderError when Python inserts newline | Claude Paroz | |
| Workaround for http://bugs.python.org/issue20747. In some corner cases, Python 2 inserts a newline in a header value despite `maxlinelen` passed in Header constructor. Thanks Tim Graham for the review. | |||
| 2015-02-19 | Fixed #24307: Avoided redundant column nullability modifications on Oracle | Shai Berger | |
| Thanks Joris Benschop for the report, and Tim Graham for the tests. | |||
| 2015-02-18 | Fixed #24362: Made test run each migration operation in its own schema editor | Shai Berger | |
| Thanks Tim Graham for pointing out the fix. | |||
| 2015-02-18 | Fixed #24291 - Fixed migration ModelState generation with unused swappable ↵ | Marten Kenbeek | |
| models Swapped out models don't have a _default_manager unless they have explicitly defined managers. ModelState.from_model() now accounts for this case and uses an empty list for managers if no explicit managers are defined and a model is swapped out. | |||
| 2015-02-18 | Refs #24324 -- Skipped fixtures_regress tests that fail on Python 2 on a ↵ | Tim Graham | |
| non-ASCII path. | |||
| 2015-02-17 | Refs #24324 -- Fixed Python 2 test failures when path to Django source ↵ | Tim Graham | |
| contains non-ASCII characters. | |||
| 2015-02-17 | Fixed "environment can only contain strings" in model_regress test on Windows. | Tim Graham | |
| 2015-02-17 | Refs #24324 -- Fixed UnicodeDecodeError in model_regress test on non-ASCII path. | 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 | Added tests for get_related_models_recursive | Markus Holtermann | |
| 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. | |||
