[PATCH 00/19] Add support for Django 1.11
Stephen Finucane
stephen at that.guru
Fri May 19 06:16:59 AEST 2017
On Wed, 2017-05-10 at 15:45 -0400, Stephen Finucane wrote:
> This is a sizable, albeit mostly trivial series focused on (a) adding
> support for Django 1.11 to Patchwork and, as a side effect, (b)
> resolving all 'DeprecationWarning's for the versions of Django that
> we support.
I've pushed the first nine of these, resolving all the deprecation
warnings. I'll push the remainder once 2.0 is out.
Stephen
> Stephen Finucane (19):
> settings: Enable 'SessionAuthenticationMiddleware'
> models: Explicitly set 'on_delete'
> migrations: Explicitly set 'on_delete'
> urls: Don't "include" admin URLs
> models: Use 'base_manager_name'
> compat: Handle moved 'reverse' function
> settings: Use 'MIDDLEWARE' for Django >= 1.10
> compat: Handle is_authenticated move to property
> tox: Turn deprecation notices into warnings
> models: Remove 'permalink' decorator
> urls: Use new login/password change CBVs
> trivial: noqa imports dotted through urls
> tox: Remove '--liveserver' parameter
> migrations: Mark 'RunPython' blocks as non-atomic
> REST: Specify default ordering fields
> REST: Allow for mutability of request.POST
> tox: Add Django 1.11
> README: Add support for Django 1.11
> requirements: Enable Django 1.11
>
> README.rst | 2 +-
> patchwork/api/bundle.py | 4 +-
> patchwork/api/check.py | 10 ++
> patchwork/api/cover.py | 1 +
> patchwork/api/event.py | 5 +-
> patchwork/api/patch.py | 1 +
> patchwork/api/person.py | 1 +
> patchwork/api/project.py | 1 +
> patchwork/api/series.py | 1 +
> patchwork/api/user.py | 1 +
> patchwork/compat.py | 27 +++++
> patchwork/migrations/0001_initial.py | 34 +++---
> .../0002_fix_patch_state_default_values.py | 3 +-
> patchwork/migrations/0003_add_check_model.py | 5 +-
> .../migrations/0004_add_delegation_rule_model.py | 5 +-
> patchwork/migrations/0006_add_patch_diff.py | 9 +-
> .../0007_move_comment_content_to_patch_content.py | 6 +-
> patchwork/migrations/0009_add_submission_model.py | 7 +-
> patchwork/migrations/0011_remove_temp_fields.py | 24 +++--
> patchwork/migrations/0012_add_coverletter_model.py | 3 +-
> patchwork/migrations/0016_series_project.py | 2 +-
> patchwork/models.py | 100 ++++++++++-
> ------
> patchwork/paginator.py | 4 +-
> patchwork/settings/base.py | 19 +++-
> patchwork/settings/dev.py | 11 +-
> patchwork/templatetags/listurl.py | 3 +-
> patchwork/templatetags/person.py | 2 +-
> patchwork/tests/test_about.py | 3 +-
> patchwork/tests/test_bundles.py | 2 +-
> patchwork/tests/test_completion.py | 2 +-
> patchwork/tests/test_confirm.py | 2 +-
> patchwork/tests/test_detail.py | 2 +-
> patchwork/tests/test_encodings.py | 2 +-
> patchwork/tests/test_filters.py | 2 +-
> patchwork/tests/test_list.py | 2 +-
> patchwork/tests/test_mail_settings.py | 2 +-
> patchwork/tests/test_mboxviews.py | 2 +-
> patchwork/tests/test_paginator.py | 2 +-
> patchwork/tests/test_projects.py | 2 +-
> patchwork/tests/test_registration.py | 2 +-
> patchwork/tests/test_rest_api.py | 2 +-
> patchwork/tests/test_updates.py | 2 +-
> patchwork/tests/test_user.py | 2 +-
> patchwork/tests/test_user_browser.py | 3 +-
> patchwork/tests/test_xmlrpc.py | 2 +-
> patchwork/urls.py | 118
> ++++++++++++++-------
> patchwork/views/__init__.py | 3 +-
> patchwork/views/about.py | 3 +-
> patchwork/views/bundle.py | 16 ++-
> patchwork/views/comment.py | 5 +-
> patchwork/views/cover.py | 6 +-
> patchwork/views/mail.py | 2 +-
> patchwork/views/patch.py | 11 +-
> patchwork/views/project.py | 6 +-
> patchwork/views/user.py | 6 +-
> patchwork/views/xmlrpc.py | 2 +-
> requirements-dev.txt | 2 +-
> requirements-prod.txt | 2 +-
> tox.ini | 10 +-
> 59 files changed, 336 insertions(+), 185 deletions(-)
More information about the Patchwork
mailing list