Switch branches/tags
19453-sensitive-variables add-import-model advance-deprecations-for-1.6 allow-reverse-assignment-to-unsaved-instances app-loading-relase-notes atomic-without-autocommit attic/boulder-oracle-sprint attic/full-history attic/generic-auth attic/gis attic/i18n attic/magic-removal attic/multi-auth attic/multiple-db-support attic/new-admin attic/newforms-admin attic/per-object-permissions attic/queryset-refactor attic/schema-evolution-ng attic/schema-evolution attic/search-api attic/sqlalchemy attic/unicode avoid-rewrapping-context avoid-vendor-checks better-api-to-disable-atomic-requests bind-template-to-context cleanup-template-loaders connection-close-in-transaction contrib-app-configs database-level-autocommit default-app-config default deployment-checklist deprecated-databases-test_-settings diffsettings-all document-related-field-implementation faster-loaddata faster-staticfiles-tests fix-filesystem-paths-handling fix-request-finished-signal forbid-queries-in-broken-transactions force-loading-apps-before-models make-reason-phrase-customizable master new-app-loading-docs parallelize-tests-attempt-2 persistent-connections purge-function-based-template-loaders py3-2to3 py3-install-docs py3 python-2-cleanups queryset-datetimes recommend-relative-imports redirects-without-sites refactor-exception-wrapping refactor-get-models refactor-template-engine-as-library refactor-tzinfo-classes remove-american-journalism-parody remove-manual-caching-in-globals reorder-database-wrappers-methods replace-and-or-by-if-else require-postgresql-84 runtests-parallel-messages session-fixes simplify-project-template simplify-timezone-is-aware-naive soc2009/admin-ui soc2009/http-wsgi-improvements soc2009/i18n-improvements soc2009/model-validation soc2009/multidb soc2009/test-improvements soc2010/app-loading soc2010/query-refactor soc2010/test-refactor split-broken-links-middleware sqlite-connection-queries stable/0.90.x stable/0.91.x stable/0.95.x stable/0.96.x stable/1.0.x stable/1.1.x stable/1.2.x stable/1.3.x stable/1.4.x startup t6992 t16218 t17083 t17552 t18916 t20025 t20420 t20579 t20636 t21166 t21680 t21875 t22508 t22790 t24265 t24685 t24921 t25302-again t25510 t26063 t27824 team-organization test-mirror-on-oracle tweak-perf-docs tz-naive-per-db unique-app-labels update-release-process urlquote-args-in-reverse yet-another-app-loading-branch zoom-zoom-tests
Nothing to show
Commits on Nov 23, 2014
  1. Encapsulated TEMPLATE_CONTEXT_PROCESSORS in Engine.

    aaugustin committed Nov 20, 2014
    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.
  2. Added to each Context a reference to the Engine.

    aaugustin committed Nov 20, 2014
    It's only available during the rendering.
  3. Moved template loaders management in Engine.

    aaugustin committed Nov 19, 2014
    Passed the engine instance to loaders. This is a prerequisite for
    looking up configuration on the engine instance instead of global
    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.
  4. Removed unused API get_template_loaders.

    aaugustin committed Nov 19, 2014
    It was introduced in a recent refactoring so this isn't an issue.
    Then renamed _get_template_loaders to get_template_loaders.
  5. Introduced a template engine class.

    aaugustin committed Nov 14, 2014
    Moved Django templates loading infrastructure there.
  6. Revert "Fixed #23892 -- Made deconstructible classes forwards compati…

    carljm committed Nov 23, 2014
    This reverts commit f36151e.
    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.
Commits on Nov 22, 2014
  1. Fix another flake8 warning.

    carljm committed Nov 22, 2014
    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.
  2. Silenced a flake8 warning.

    berkerpeksag committed Nov 22, 2014
    ../tests/shortcuts/ E302 expected 2 blank lines, found 1
  3. Avoided rewrapping Contexts in render_to_response.

    aaugustin committed Nov 22, 2014
    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.
  4. Fixed #23887 -- Returned Bad Request for multipart parsing fails

    claudep committed Nov 21, 2014
    Thanks Antti Häyrynen and Tim Graham for the report, and Aymeric
    Augustin for the review.
Commits on Nov 21, 2014
  1. Fixed #23889 -- Added more usage of quote_name_unless_alias() to avoi…

    collinanderson authored and timgraham committed Nov 21, 2014
    …d deprecation warnings.
  2. Fixed #23778 -- Added a doc section on using the Django runner for re…

    Starou authored and carljm committed Nov 21, 2014
    …usable apps.
  3. Fixed #23865 -- documented how to assign errors to a field in Model.c…

    alasdairnicol authored and timgraham committed Nov 18, 2014
    Also added a unit test wit the simpler syntax which we have documented,
    where the dictionary values are strings.
  4. Fixed #23863 -- Made runtests accept the keepdb option.

    charettes authored and timgraham committed Nov 16, 2014
    refs #20550
  5. Fixed #23794 -- Fixed migrations crash when removing a field that's p…

    apragacz authored and timgraham committed Nov 15, 2014
    …art of index/unique_together.
  6. Added a test for model pre/post_init signals.

    Jay authored and timgraham committed Nov 21, 2014
Commits on Nov 20, 2014
  1. Fixed duplicate index error on Oracle; refs #23859.

    MarkusH authored and timgraham committed Nov 20, 2014
    Refers to regression introduced in 7b4a994