aboutsummaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2018-06-24 20:55:53 +0100
committerDaniel Axtens <dja@axtens.net>2018-08-26 16:58:21 +1000
commita6abd48b9c31014766c69d27c18dc7a74881e9c9 (patch)
tree48899b23a73e7a46cfdf3102f6f806ee292085e9 /releasenotes
parentdbf5cecd7443b1dfdd2162760b7afd80b4e7509f (diff)
downloadpatchwork-a6abd48b9c31014766c69d27c18dc7a74881e9c9.tar
patchwork-a6abd48b9c31014766c69d27c18dc7a74881e9c9.tar.gz
Add support for Django 2.0
Nothing too complicated here except for the addition of a new compat wrapper, which will be removed again shortly. According to the Django release notes, Django should function with Python 3.4. However, it was not possible to get this functioning due to the below error: Traceback (most recent call last): File ".../patchwork/manage.py", line 11, in <module> ... File ".../django/db/models/fields/related.py", line 313, in contribute_to_class 'app_label': cls._meta.app_label.lower(), TypeError: unsupported operand type(s) for %: 'bytes' and 'dict' This does not appear to be an issue with Patchwork but the exact root cause has not been identified. As a result, only Python 3.5 and 3.6 are marked as supported for this Django version. As this is the first Python 3-only dependency we have, we need to start making use of the 'python_version' environment marker. Signed-off-by: Stephen Finucane <stephen@that.guru> Signed-off-by: Daniel Axtens <dja@axtens.net>
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/django-2-0-support-807980866ca16b77.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/releasenotes/notes/django-2-0-support-807980866ca16b77.yaml b/releasenotes/notes/django-2-0-support-807980866ca16b77.yaml
new file mode 100644
index 0000000..5c20673
--- /dev/null
+++ b/releasenotes/notes/django-2-0-support-807980866ca16b77.yaml
@@ -0,0 +1,5 @@
+---
+features:
+ - |
+ `Django 2.0 <https://docs.djangoproject.com/en/2.0/releases/2.0/>`_ is now
+ supported.