Skip to content
Snippets Groups Projects
Commit 05789572 authored by Michael Fladischer's avatar Michael Fladischer
Browse files

Add patch for Django 4 compatibility (Closes: #1013466).

parent 6b25663a
No related branches found
No related tags found
No related merge requests found
python-django-rest-framework-guardian (0.3.0-4) UNRELEASED; urgency=medium
* Use github tags instead of releases for d/watch.
* Add patch for Django 4 compatibility (Closes: #1013466).
-- Michael Fladischer <fladi@debian.org> Sun, 07 Nov 2021 20:13:03 +0000
......
From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Sun, 31 Jul 2022 12:57:42 +0000
Subject: Django 4 compatibility.
---
tests/models.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/models.py b/tests/models.py
index f08b5e8..8a0ba7d 100644
--- a/tests/models.py
+++ b/tests/models.py
@@ -1,5 +1,5 @@
from django.db import models
-from django.utils.translation import ugettext_lazy as _
+from django.utils.translation import gettext_lazy as _
class BasicModel(models.Model):
0001-Django-4-compatibility.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment