Add support for registering of statistics functions instead of statics app importing from other apps
This commit is contained in:
5
apps/statistics/api.py
Normal file
5
apps/statistics/api.py
Normal file
@@ -0,0 +1,5 @@
|
||||
statistics_functions = []
|
||||
|
||||
|
||||
def register_statistics(function):
|
||||
statistics_functions.append(function)
|
||||
Reference in New Issue
Block a user