Underlining Apprise version info added to Frontend Display (#61)

This commit is contained in:
Chris Caron
2021-11-10 22:07:21 -05:00
committed by GitHub
parent 022e151f8f
commit c9ef057e34
5 changed files with 43 additions and 8 deletions

View File

@@ -24,6 +24,7 @@
# THE SOFTWARE.
from .utils import ConfigCache
from django.conf import settings
import apprise
def stateful_mode(request):
@@ -38,3 +39,10 @@ def config_lock(request):
Returns the state of our global configuration lock
"""
return {'CONFIG_LOCK': settings.APPRISE_CONFIG_LOCK}
def apprise_version(request):
"""
Returns the current version of apprise loaded under the hood
"""
return {'APPRISE_VERSION': apprise.__version__}