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