| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-11-23 | Deprecated dirs argument to override TEMPLATE_DIRS. | Aymeric Augustin | |
| Cancels 2f0566fa. Refs #4278. | |||
| 2014-11-22 | Revert "Fixed #23892 -- Made deconstructible classes forwards compatible" | Carl Meyer | |
| This reverts commit f36151ed169813f2873e13ca9de616cfa4095321. Adding kwargs to deconstructed objects does not achieve useful forward-compatibility in general, since additional arguments are silently dropped rather than having their intended effect. In fact, it can make the failure more difficult to diagnose. Thanks Shai Berger for discussion. | |||
| 2014-11-22 | Fixed #23892 -- Made deconstructible classes forwards compatible | Carl Meyer | |
| 2014-11-22 | Fix another flake8 warning. | Carl Meyer | |
| I don't agree with flake8 here about the right indentation, but as long as we're using it, we should stick to it. I don't want to disable its hanging indent checks just because of this case. | |||
| 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-22 | Updated an old note about GEOSGeometry.transform | Claude Paroz | |
| 2014-11-21 | Fixed #23889 -- Added more usage of quote_name_unless_alias() to avoid ↵ | Collin Anderson | |
| deprecation warnings. | |||
| 2014-11-21 | Fixed #23862 -- Made ManyToManyRel.get_related_field() respect to_field. | Simon Charette | |
| 2014-11-21 | Fixed typo in forms/models.py comment. | Simon Charette | |
| 2014-11-21 | Fixed #23778 -- Added a doc section on using the Django runner for reusable ↵ | Stanislas Guerra | |
| apps. | |||
| 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 typo in docs/internals/release-process.txt. | Tom V | |
| 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 | Corrected Permission.max_length in docs; refs #8162. | Sergey Fedoseev | |
| 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 | Removed reduce() usage in makemigrations; refs #23796. | Brad Walker | |
| A lambda all_items_equal() replaced a reduce() that was broken for potential 3+-way merges. A reduce(operator.eq, ...) accumulates bools and can't generically check equality of all items in a sequence: >>> bool(reduce(operator.eq, [('migrations', '0001_initial')] * 3)) False The code now counts the number of common ancestors to calculate slice offsets for the branches. Each branch shares the same number of common ancestors. The common_ancestor for loop statement had incomplete branch coverage. | |||
| 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 | Added some directories on Jenkins to flake8 exclude. | Tim Graham | |
| 2014-11-20 | Added missing backticks to form validation docs | Alasdair Nicol | |
| 2014-11-20 | Added AutoField introspection for PostgreSQL | Claude Paroz | |
| Refs #23748. | |||
| 2014-11-20 | Added AutoField introspection for MySQL | Claude Paroz | |
| Refs #23748. | |||
| 2014-11-20 | Fixed #23817 -- Updated docs on QuerySet evaluation | Michal Petrucha | |
| Removed inaccurate info about partial evaluation after refs #18702. Added information on modifying sliced QuerySets; refs #22503. | |||
| 2014-11-20 | Fixed #12098 -- Simplified HttpRequest.__repr__(). | Berker Peksag | |
| 2014-11-20 | Fixed #23876 -- Removed dead code in SQLAggregateCompiler. | Carl Meyer | |
| 2014-11-19 | Added another migration-executor test to avoid regressions. | Carl Meyer | |
| 2014-11-19 | Fixed #23873 -- Improved GIS error message when GEOS is not installed. | Carl Meyer | |
| Thanks Claude for writing the patch. | |||
| 2014-11-19 | Fixed #23410 -- Avoided unnecessary rollbacks in related apps when migrating ↵ | Carl Meyer | |
| backwards. | |||
| 2014-11-19 | Fixed #21794 -- Removed deprecation warning for abstract models outside an app. | Carl Meyer | |
| 2014-11-19 | Fixed #23872 -- Removed sensitivity of migrations tests to CWD. | Carl Meyer | |
| 2014-11-19 | Fixed GIS tests to again skip without error when GEOS is not installed. | Carl Meyer | |
| 2014-11-19 | Fixed #23871 -- Removed promotion of MySQL warnings to errors in DEBUG mode. | Tim Graham | |
| 2014-11-19 | Replaced caching of a property with @cached_property. | Aymeric Augustin | |
| 2014-11-19 | Simplified caching of supported languages. | Aymeric Augustin | |
| 2014-11-19 | Simplified caching of the default exception reporter filter. | Aymeric Augustin | |
| Also simplified the logic under the assumption that a false-ish object won't have an exception_reporter_filter attribute. | |||
| 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 | Simplified caching of get_default_timezone(). | Aymeric Augustin | |
| 2014-11-19 | Simplified caching of password hashers. | Aymeric Augustin | |
| load_hashers cached its result regardless of its password_hashers argument which required fragile cache invalidation. Remove that argument in favor of @override_settings and triggering cache invalidation with a signal. | |||
