Skip to content

Commit ffab8cd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2f84198 commit ffab8cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

debug_toolbar/decorators.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
try:
99
from django.contrib.auth.decorators import login_not_required
1010
except ImportError:
11+
1112
def login_not_required(func):
1213
return func
1314

15+
1416
def require_show_toolbar(view):
1517
@functools.wraps(view)
1618
@login_not_required

0 commit comments

Comments
 (0)