| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-11-24 | Simplified get_version() in django/__init__.py | Tim Graham | |
| Thanks Luke Plant for the report. | |||
| 2014-11-24 | Removed unused variable django.http.request.absolute_http_url_re | Matt Robenolt | |
| 2014-11-23 | Removed direct references to template-related settings. | Aymeric Augustin | |
| 2014-11-23 | Encapsulated TEMPLATE_DEBUG in Engine. | Aymeric Augustin | |
| 2014-11-23 | Encapsulated TEMPLATE_STRING_IF_INVALID in Engine. | Aymeric Augustin | |
| 2014-11-23 | Encapsulated TEMPLATE_CONTEXT_PROCESSORS in Engine. | Aymeric Augustin | |
| Since RequestContext doesn't know its Engine until it's passed to Template.render() -- and cannot without breaking a widely used public API -- an elaborate hack is required to apply context processors. | |||
| 2014-11-23 | Encapsulated ALLOWED_INCLUDE_ROOTS in Engine. | Aymeric Augustin | |
| 2014-11-23 | Moved make_origin into the Engine class. | Aymeric Augustin | |
| 2014-11-23 | Move compile_string into the Engine class. | Aymeric Augustin | |
| 2014-11-23 | Added to each Context a reference to the Engine. | Aymeric Augustin | |
| It's only available during the rendering. | |||
| 2014-11-23 | Removed dependency of template loaders on Django settings. | 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 | Removed unused API get_template_loaders. | Aymeric Augustin | |
| It was introduced in a recent refactoring so this isn't an issue. Then renamed _get_template_loaders to get_template_loaders. | |||
| 2014-11-23 | Introduced a template engine class. | Aymeric Augustin | |
| Moved Django templates loading infrastructure there. | |||
| 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 | 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 | 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 #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 #21753 -- Raised exception when both `form_class` and `fields` are ↵ | Berker Peksag | |
| specified. | |||
| 2014-11-21 | Fixed #23794 -- Fixed migrations crash when removing a field that's part of ↵ | Andrzej Pragacz | |
| index/unique_together. | |||
| 2014-11-21 | Fixed #23883 -- Stopped flatatt modifying its argument | Tim Heap | |
| 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 | 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 AutoField introspection for PostgreSQL | Claude Paroz | |
| Refs #23748. | |||
| 2014-11-20 | Added AutoField introspection for MySQL | Claude Paroz | |
| Refs #23748. | |||
| 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 | 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 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 | 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. | |||
| 2014-11-19 | Fixed GeoSQLCompiler to pass itself correctly to column as_sql. | Carl Meyer | |
| 2014-11-19 | Removed a deprecated use of SQLCompiler as quote_name in GIS. | Carl Meyer | |
| 2014-11-19 | Fixed #22248 -- Made RenameModel reversible | Stratos Moros | |
| 2014-11-18 | Deprecated calling a SQLCompiler instance. | Carl Meyer | |
