Skip to content

Commit 3787019

Browse files
committed
more cleanup from check util
1 parent ca3b946 commit 3787019

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

tools/templatetags/action_buttons.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ def return_button(context, tool):
2121
return render_crispy_form(form, context=context)
2222

2323

24-
from crispy_forms.utils import render_crispy_form
25-
from django_jinja import library, utils
26-
import jinja2
27-
28-
2924
@library.global_function
3025
@jinja2.contextfunction
3126
@utils.safe

tools/tests/querysets_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def test_borrowable_to_user_include_decommissioned_tools_false(self):
140140
When a tool has been decommissioned, we don't want to see it in
141141
the 'borrowable' query
142142
"""
143-
decommissionedTool = self.make_tool(
143+
self.make_tool(
144144
title="Decommissioned tool", state=UserTool.States.disabled.value, user=self.user
145145
)
146146

tools/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from django.urls import path, include
1+
from django.urls import path
22

33
from tools.views import (
44
ClearUserView,

utils/transitions/mixins.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from django.utils import six
66
from django.utils.encoding import force_text
77
from django.utils.functional import Promise
8-
from django.urls import reverse
98

109

1110
class TransitionActionMixin:

0 commit comments

Comments
 (0)