Skip to content

Commit

Permalink
v.1.1.2
Browse files Browse the repository at this point in the history
Add Django 4.1+ support
  • Loading branch information
RamezIssac committed Jul 18, 2023
1 parent bafaedf commit 4be5ce5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Change Log
==========

2023.02.15 (v1.1.2)
~~~~~~~~~~~~~~~~~~~
* Add Django 4.1+ support

2023.02.15 (v1.1.1)
~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion admin_commands/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.1.1'
__version__ = '1.1.2'
3 changes: 1 addition & 2 deletions admin_commands/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from django.shortcuts import render
from django.template.defaultfilters import linebreaksbr
from django.urls import reverse
from django.utils.encoding import force_text
from django.utils.html import format_html
from django.utils.safestring import mark_safe
from django.utils.translation import gettext_lazy as _
Expand Down Expand Up @@ -89,7 +88,7 @@ def execute_command_view(self, request, object_id):
opts = self.model._meta
context = dict(
self.admin_site.each_context(request),
module_name=force_text(opts.verbose_name_plural),
module_name=str(opts.verbose_name_plural),
has_add_permission=self.has_add_permission(request),
opts=opts,
command=command,
Expand Down

0 comments on commit 4be5ce5

Please sign in to comment.