Added a new diagnostics tab under the tools menu
This commit is contained in:
7
apps/main/api.py
Normal file
7
apps/main/api.py
Normal file
@@ -0,0 +1,7 @@
|
||||
diagnostics = {}
|
||||
|
||||
def register_diagnostic(namespace, title, link):
|
||||
namespace_dict = diagnostics.get(namespace, {'title':None, 'links':[]})
|
||||
namespace_dict['title'] = title
|
||||
namespace_dict['links'].append(link)
|
||||
diagnostics[namespace] = namespace_dict
|
||||
Reference in New Issue
Block a user