[PATCH 00/15] Django 1.9 support, part 2

Andy Doan andy.doan at linaro.org
Fri Mar 25 06:34:42 AEDT 2016


On 03/24/2016 12:52 PM, Stephen Finucane wrote:
> A previous series worked to get support for Django 1.9 [1]. This
> series left one deprecation notice for Django 1.10. This series
> resolves this deprecation notice and sets us up nicely for both
> Django 1.9 and Django 1.10. The series contains many patches, but
> each patch is small.
>
> Note that there is one remaining bug for Django 1.9 [2]. This will be
> fixed in a separate patch.
>
> [1] https://lists.ozlabs.org/pipermail/patchwork/2016-January/002243.html
> [2] https://github.com/getpatchwork/patchwork/issues/15

Nice clean up.

Tested-by: Andy Doan <andy.doan at linaro.org>

> Stephen Finucane (15):
>    context: Add 'site' context processor
>    compat: Wrap 'render_to_string'
>    views: Use context dictionaries in 'project'
>    views: Use context dictionaries in 'help'
>    views: Use context dictionaries in 'pwclient'
>    views: Use context dictionaries in 'user'
>    views: Use context dictionaries in 'mail'
>    views: Use context dictionaries in 'bundle'
>    views: Use context dictionaries in '__init__'
>    settings: Enable the 'message' application
>    views: Use messages framework in 'patch'
>    views: Use messages framework in 'generic_list'
>    utils: Make use of 'compat'
>    Remove 'requestcontext'
>    requirements: Update Django to 1.9
>
>   patchwork/compat.py                        | 40 +++++++++++++
>   patchwork/context_processors.py            | 24 ++++++++
>   patchwork/requestcontext.py                | 93 -----------------------------
>   patchwork/settings/base.py                 | 12 ++++
>   patchwork/templates/patchwork/profile.html |  2 +-
>   patchwork/templates/patchwork/project.html |  2 +-
>   patchwork/utils.py                         |  3 +-
>   patchwork/views/__init__.py                | 96 ++++++++++++++++++++----------
>   patchwork/views/bundle.py                  | 21 +++----
>   patchwork/views/help.py                    |  9 +--
>   patchwork/views/mail.py                    | 68 +++++++++++----------
>   patchwork/views/patch.py                   | 30 ++++++----
>   patchwork/views/project.py                 | 34 +++++------
>   patchwork/views/pwclient.py                | 23 +++----
>   patchwork/views/user.py                    | 77 ++++++++++++------------
>   requirements-dev.txt                       |  2 +-
>   requirements-prod.txt                      |  2 +-
>   templates/base.html                        |  2 +
>   18 files changed, 278 insertions(+), 262 deletions(-)
>   create mode 100644 patchwork/compat.py
>   create mode 100644 patchwork/context_processors.py
>   delete mode 100644 patchwork/requestcontext.py
>



More information about the Patchwork mailing list