]> git.ipfire.org Git - thirdparty/patchwork.git/commit
templates: Resolve cycle issues with Django 1.10
authorStephen Finucane <stephen@that.guru>
Sun, 9 Oct 2016 19:07:18 +0000 (20:07 +0100)
committerStephen Finucane <stephen@that.guru>
Mon, 10 Oct 2016 21:16:59 +0000 (22:16 +0100)
commit8ae7705b8c71976d36f85e6ce0da207657eb7a0e
treef4f9cc4b6beb563dacbf4866269953b6e7068cb3
parent60b7d57fd80bd20e3568e442485fb2dc3e5536a2
templates: Resolve cycle issues with Django 1.10

The 'future.cycle' template tag is removed in Django 1.10. Since
Django 1.7 is still supported by Patchwork, it is necessary to
provide a custom 'cycle' wrapper to prevent the deprecation
warnings resolved by '9cab078' being reintroduced.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Reviewed-by: Daniel Axtens <dja@axtens.net>
patchwork/templates/patchwork/patch-list.html
patchwork/templatetags/compat.py [new file with mode: 0644]