| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-11-25 | Fixed and restored assertions in OneToOneTests.test_foreign_key. | Adam Alton | |
| These assertions had been removed in 34ba86706f and 7fe554b2a3, seemingly because they were referencing the wrong objects, and so they started failing when the checking of object types (as well as PK values) was introduced. | |||
| 2014-11-25 | Fixed #21587 -- Added a warning for changing default of RedirectView.permanent. | Berker Peksag | |
| 2014-11-25 | Fixed #23890 -- Silenced numpy DeprecationWarnings in template tests. | Tim Graham | |
| 2014-11-24 | Fixed #23742 -- Added an option to reverse tests order. | wrwrwr | |
| This is useful for debugging side effects affecting tests that are usually executed before a given test. Full suite and pair tests sort cases more or less deterministically, thus some test cross-dependencies are easier to reveal by reversing the order. Thanks Preston Timmons for the review. | |||
| 2014-11-24 | Changed test_runner imports to name objects imported from test.runner. | wrwrwr | |
| 2014-11-24 | Fixed #23888 -- Fixed crash in File.__repr__() when name contains unicode. | Sergey Fedoseev | |
| 2014-11-23 | Encapsulated TEMPLATE_STRING_IF_INVALID in Engine. | Aymeric Augustin | |
| 2014-11-23 | Moved template loaders management in Engine. | Aymeric Augustin | |
| Passed the engine instance to loaders. This is a prerequisite for looking up configuration on the engine instance instead of global settings. This is backwards incompatible for custom template loaders that override __init__. However the documentation doesn't talk about __init__ and the way to pass arguments to custom template loaders isn't specified. I'm considering it a private API. | |||
| 2014-11-23 | Deprecated dirs argument to override TEMPLATE_DIRS. | Aymeric Augustin | |
| Cancels 2f0566fa. Refs #4278. | |||
| 2014-11-22 | Silenced a flake8 warning. | Berker Peksag | |
| ../tests/shortcuts/views.py:45:1: E302 expected 2 blank lines, found 1 | |||
| 2014-11-22 | Avoided rewrapping Contexts in render_to_response. | Aymeric Augustin | |
| This change preserves backwards-compatibility for a very common misuse of render_to_response which even occurred in the official documentation. It fixes that misuse wherever it happened in the code base and docs. Context.__init__ is documented as accepting a dict and nothing else. Since Context is dict-like, Context(Context({})) could work to some extent. However, things get complicated with RequestContext and that gets in the way of refactoring the template engine. This is the real rationale for this change. | |||
| 2014-11-22 | Moved tests for render shortcuts to their own app. | Aymeric Augustin | |
| 2014-11-22 | Fixed #23887 -- Returned Bad Request for multipart parsing fails | Claude Paroz | |
| Thanks Antti Häyrynen and Tim Graham for the report, and Aymeric Augustin for the review. | |||
| 2014-11-21 | Fixed #23862 -- Made ManyToManyRel.get_related_field() respect to_field. | Simon Charette | |
| 2014-11-21 | Fixed #21753 -- Raised exception when both `form_class` and `fields` are ↵ | Berker Peksag | |
| specified. | |||
| 2014-11-21 | Fixed #23865 -- documented how to assign errors to a field in Model.clean() | Alasdair Nicol | |
| Also added a unit test wit the simpler syntax which we have documented, where the dictionary values are strings. | |||
| 2014-11-21 | Fixed #23863 -- Made runtests accept the keepdb option. | Simon Charette | |
| refs #20550 | |||
| 2014-11-21 | Fixed #23794 -- Fixed migrations crash when removing a field that's part of ↵ | Andrzej Pragacz | |
| index/unique_together. | |||
| 2014-11-21 | Added a test for model pre/post_init signals. | Jay | |
| 2014-11-21 | Fixed #23883 -- Stopped flatatt modifying its argument | Tim Heap | |
| 2014-11-20 | Added a comment for test of refs #20278. | Anssi Kääriäinen | |
| 2014-11-20 | Fixed duplicate index error on Oracle; refs #23859. | Markus Holtermann | |
| Refers to regression introduced in 7b4a994599b75a07cb07d1e0cc26b3bbf25ab7a6 | |||
| 2014-11-20 | Reduced reduce() usage; refs #23796. | Brad Walker | |
| django.core.exceptions.ValidationError.messages() and django.db.backends.schema.BaseDatabaseSchemaEditor._alter_field(): Replaced reduce(operator.add, ...) w/uncoupled, explicit sum() | |||
| 2014-11-20 | Added test for ValidationError.messages | Brad Walker | |
| 2014-11-20 | Fixed #23605 -- Fixed nested subquery regression | Anssi Kääriäinen | |
| Added relabeled_clone() method to sql.Query to fix the problem. It manifested itself in rare cases where at least double nested subquery's filter condition might target non-existing alias. Thanks to Trac alias ris for reporting the problem. | |||
| 2014-11-20 | Fixed #23844 -- Used topological sort for migration operation dependency ↵ | Patryk Zawadzki | |
| resolution. This removes the concept of equality between operations to guarantee compatilibity with Python 3. Python 3 requires equality to result in identical object hashes. It's impossible to implement a unique hash that preserves equality as operations such as field creation depend on being able to accept arbitrary dicts that cannot be hashed reliably. Thanks Klaas van Schelven for the original patch in 13d613f80011852404198dfafd1f09c0c0ea42e6. | |||
| 2014-11-20 | Fixed #12098 -- Simplified HttpRequest.__repr__(). | Berker Peksag | |
| 2014-11-19 | Added another migration-executor test to avoid regressions. | Carl Meyer | |
| 2014-11-19 | Fixed #23410 -- Avoided unnecessary rollbacks in related apps when migrating ↵ | Carl Meyer | |
| backwards. | |||
| 2014-11-19 | Fixed #23872 -- Removed sensitivity of migrations tests to CWD. | Carl Meyer | |
| 2014-11-19 | Removed usage of a global variable. | Aymeric Augustin | |
| 2014-11-19 | Simplified caching of template context processors. | Aymeric Augustin | |
| 2014-11-19 | Simplified caching of templatetags modules. | Aymeric Augustin | |
| 2014-11-19 | Cleaned up and reformatted autodetector tests | Markus Holtermann | |
| 2014-11-19 | Formatted model states in autodetector tests | Markus Holtermann | |
| 2014-11-19 | Fixed #22248 -- Made RenameModel reversible | Stratos Moros | |
| 2014-11-19 | Removed nonexistent module django.test._doctest from coveragerc. | Tim Graham | |
| 2014-11-18 | Fixed #18714 -- Added 'fuzzy' compilemessages option | Anton Baklanov | |
| 2014-11-18 | Fixed #23799 -- Made makemigrations respect --no-optimize. | Tillmann Karras | |
| Thanks to yamila-moreno for the idea of a skip message. | |||
| 2014-11-17 | Adjusted tests for previous commit. | Aymeric Augustin | |
| The test was testing a use case that doesn't happen in real world projects: developers don't assign settings at run time (and Django explicitly doesn't support it). | |||
| 2014-11-17 | Removed superfluous newline. | Aymeric Augustin | |
| 2014-11-17 | Fixed #23859 -- Fixed a migration crash when a field is renamed that is part ↵ | Markus Holtermann | |
| of an index_together | |||
| 2014-11-17 | Fixed #23840 -- Fixed makemessages find_files method | Ilja Maas | |
| Changed the handling of extensions to be used for gettext. Now obeying the --extension argument. find_files now only find the given or default extensions and puts only these in the TranslatableFiles. As a result there are no more confusing messages for filetypes (extension) not handled by makemessages. | |||
| 2014-11-17 | Fixed a test to correctly calculate a fixture's relative path. | Julien Phalip | |
| 2014-11-16 | Refactored getting the list of template loaders. | Aymeric Augustin | |
| This provides the opportunity to move utility functions specific to the Django Template Language outside of django.template.loader. | |||
| 2014-11-16 | Removed override_template_loaders and override_with_test_loader. | Aymeric Augustin | |
| They can be replaced with override_settings and that makes the corresponding tests much more obvious. | |||
| 2014-11-16 | Moved all template loaders under django.template.loaders. | Aymeric Augustin | |
| Reformatted the code of base.Loader according to modern standards. Turned the test template loader into a regular locmem.Loader -- but didn't document it. Added a normal deprecation path for BaseLoader which is a public API. Added an accelerated deprecation path for TestTemplateLoader which is a private API. | |||
| 2014-11-16 | Fixed #21612 -- Made QuerySet.update() respect to_field | Karen Tracey | |
| 2014-11-16 | Renamed qn to compiler | Josh Smeaton | |
| 2014-11-16 | Removed references to the deprecated assertRaisesRegexp method. | Simon Charette | |
