Skip to content

Commit 4be5ce5

Browse files
committed
v.1.1.2
Add Django 4.1+ support
1 parent bafaedf commit 4be5ce5

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Change Log
22
==========
33

4+
2023.02.15 (v1.1.2)
5+
~~~~~~~~~~~~~~~~~~~
6+
* Add Django 4.1+ support
47

58
2023.02.15 (v1.1.1)
69
~~~~~~~~~~~~~~~~~~~

admin_commands/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.1.1'
1+
__version__ = '1.1.2'

admin_commands/admin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from django.shortcuts import render
55
from django.template.defaultfilters import linebreaksbr
66
from django.urls import reverse
7-
from django.utils.encoding import force_text
87
from django.utils.html import format_html
98
from django.utils.safestring import mark_safe
109
from django.utils.translation import gettext_lazy as _
@@ -89,7 +88,7 @@ def execute_command_view(self, request, object_id):
8988
opts = self.model._meta
9089
context = dict(
9190
self.admin_site.each_context(request),
92-
module_name=force_text(opts.verbose_name_plural),
91+
module_name=str(opts.verbose_name_plural),
9392
has_add_permission=self.has_add_permission(request),
9493
opts=opts,
9594
command=command,

0 commit comments

Comments
 (0)