mirror of
https://github.com/MOIS3Y/logs-collector.git
synced 2025-02-01 09:20:52 +01:00
17 lines
350 B
Python
17 lines
350 B
Python
from django.conf import settings
|
|
|
|
from . import __author__
|
|
from .utils.helpers import get_mount_fs_info
|
|
|
|
|
|
def metadata(request):
|
|
return {
|
|
"version": settings.VERSION,
|
|
"environment": settings.ENVIRONMENT,
|
|
"author": __author__,
|
|
}
|
|
|
|
|
|
def storage_info(request):
|
|
return {'storage': get_mount_fs_info(settings.DATA_DIR)}
|