diff options
author | Andrew Donnellan <ajd@linux.ibm.com> | 2020-04-08 22:47:54 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2020-04-08 23:35:08 +0100 |
commit | d3d4f9f36b2b16aa54837b67733f2de5cf93457b (patch) | |
tree | 192fcd459aa3bc1fe0ccc91af313032962f6d755 /patchwork | |
parent | e2471e523149d582c25a842947cf58fa6fd88703 (diff) | |
download | patchwork-d3d4f9f36b2b16aa54837b67733f2de5cf93457b.tar patchwork-d3d4f9f36b2b16aa54837b67733f2de5cf93457b.tar.gz |
Add Django 3.0 support
Add the latest version of Django.
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes: #311
Diffstat (limited to 'patchwork')
-rw-r--r-- | patchwork/api/patch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patchwork/api/patch.py b/patchwork/api/patch.py index 15fce8e..d881504 100644 --- a/patchwork/api/patch.py +++ b/patchwork/api/patch.py @@ -9,7 +9,7 @@ import email.parser from django.core.exceptions import ValidationError from django.utils.text import slugify -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from rest_framework import status from rest_framework.exceptions import APIException from rest_framework.exceptions import PermissionDenied |