Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-django-rest-framework-guardian
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Python Team
packages
python-django-rest-framework-guardian
Commits
05789572
Commit
05789572
authored
2 years ago
by
Michael Fladischer
Browse files
Options
Downloads
Patches
Plain Diff
Add patch for Django 4 compatibility (Closes: #1013466).
parent
6b25663a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+1
-0
1 addition, 0 deletions
debian/changelog
debian/patches/0001-Django-4-compatibility.patch
+19
-0
19 additions, 0 deletions
debian/patches/0001-Django-4-compatibility.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
21 additions
and
0 deletions
debian/changelog
+
1
−
0
View file @
05789572
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
...
...
This diff is collapsed.
Click to expand it.
debian/patches/0001-Django-4-compatibility.patch
0 → 100644
+
19
−
0
View file @
05789572
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):
This diff is collapsed.
Click to expand it.
debian/patches/series
0 → 100644
+
1
−
0
View file @
05789572
0001-Django-4-compatibility.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment