flake8 cleanups, ununsed imports and variables cleanup, changed register_diagnostics to use reverse_lazy instead of reverse
This commit is contained in:
+1
-1
@@ -134,7 +134,7 @@ def tools_menu(request):
|
||||
user_tools[namespace] = {
|
||||
'title': values['title']
|
||||
}
|
||||
user_links = user_tools[namespace].setdefault('links', [])
|
||||
user_tools[namespace].setdefault('links', [])
|
||||
user_tools[namespace]['links'].append(link)
|
||||
except PermissionDenied:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user