File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 19
19
except ImportError : # Django < 1.7
20
20
from django .contrib .admin .util import unquote
21
21
22
- USER_NATURAL_KEY = tuple (key .lower () for key in settings .AUTH_USER_MODEL .split ('.' , 1 ))
22
+ USER_NATURAL_KEY = tuple (
23
+ key .lower () for key in settings .AUTH_USER_MODEL .split ('.' , 1 ))
23
24
24
25
SIMPLE_HISTORY_EDIT = getattr (settings , 'SIMPLE_HISTORY_EDIT' , False )
25
26
Original file line number Diff line number Diff line change @@ -429,7 +429,8 @@ def test_history_form_view_getting_history(self):
429
429
'original_opts' : ANY ,
430
430
'changelist_url' : '/admin/tests/poll/' ,
431
431
'change_url' : ANY ,
432
- 'history_url' : '/admin/tests/poll/{pk}/history/' .format (pk = poll .pk ),
432
+ 'history_url' : '/admin/tests/poll/{pk}/history/' .format (
433
+ pk = poll .pk ),
433
434
'add' : False ,
434
435
'change' : True ,
435
436
'has_add_permission' : admin .has_add_permission (request ),
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ envlist =
10
10
11
11
[flake8]
12
12
ignore = N802
13
- max-complexity = 11
13
+ max-complexity = 10
14
14
exclude = __init__.py,simple_history/tests/migration_test_app/migrations/*
15
15
16
16
You can’t perform that action at this time.
0 commit comments