diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 3b191bcc6d..85d3d7f2b0 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -50,6 +50,7 @@ Changelog * Fix: Added file handling to support custom user add/edit forms with images/files (Eraldo Energy) * Fix: Placeholder text in modeladmin search now uses the correct template variable (Adriaan Tijsseling) * Fix: Fixed bad SQL syntax for updating URL paths on Microsoft SQL Server (Jesse Legg) + * Fix: Added workaround for Django 1.10 bug https://code.djangoproject.com/ticket/27037 causing forms with file upload fields to fail validation (Matt Westcott) 1.5.3 (18.07.2016) diff --git a/docs/releases/1.6.rst b/docs/releases/1.6.rst index b676a44aab..8739799e76 100644 --- a/docs/releases/1.6.rst +++ b/docs/releases/1.6.rst @@ -79,6 +79,7 @@ Bug fixes * Added file handling to support custom user add/edit forms with images/files (Eraldo Energy) * Placeholder text in modeladmin search now uses the correct template variable (Adriaan Tijsseling) * Fixed bad SQL syntax for updating URL paths on Microsoft SQL Server (Jesse Legg) + * Added workaround for Django 1.10 bug https://code.djangoproject.com/ticket/27037 causing forms with file upload fields to fail validation (Matt Westcott) Upgrade considerations diff --git a/wagtail/contrib/modeladmin/templates/modeladmin/create.html b/wagtail/contrib/modeladmin/templates/modeladmin/create.html index 7a88fc811e..b384679db2 100644 --- a/wagtail/contrib/modeladmin/templates/modeladmin/create.html +++ b/wagtail/contrib/modeladmin/templates/modeladmin/create.html @@ -1,5 +1,5 @@ {% extends "wagtailadmin/base.html" %} -{% load i18n %} +{% load i18n wagtailadmin_tags %} {% block titletag %}{{ view.get_meta_title }}{% endblock %} @@ -19,7 +19,7 @@ {% include "wagtailadmin/shared/header.html" with title=view.get_page_title subtitle=view.get_page_subtitle icon=view.header_icon tabbed=1 merged=1 %} {% endblock %} -
{% trans "Drag and drop documents into this area to upload immediately." %}
{{ help_text }} -
{% trans "Drag and drop images into this area to upload immediately." %}
{{ help_text }} -