]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Prepare for Django 2.0
authorStephen Finucane <stephen@that.guru>
Sun, 24 Jun 2018 19:55:52 +0000 (20:55 +0100)
committerDaniel Axtens <dja@axtens.net>
Sun, 26 Aug 2018 06:58:21 +0000 (16:58 +1000)
commitdbf5cecd7443b1dfdd2162760b7afd80b4e7509f
treee33a0038ca6a7b5391689adf7650589d4b1000ec
parent67bf1572dcedd06cc914e67a20cd19ab30dced44
Prepare for Django 2.0

Two changes necessary.

- Remove 'SessionAuthenticationMiddleware' from settings

  https://docs.djangoproject.com/en/2.0/releases/2.0/#miscellaneous

- Replace 'render_to_response' with 'render'

  https://docs.djangoproject.com/en/2.0/releases/2.0/#miscellaneous

Both of these are supported by Django 1.11 so there's no need for compat
wrappers.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Signed-off-by: Daniel Axtens <dja@axtens.net>
patchwork/settings/base.py
patchwork/views/cover.py