Пример #1
0
def get_storage_root():
    return endpoint.Endpoint(settings.STORAGE_ROOT)
Пример #2
0
def get_media_root():
    return endpoint.Endpoint(f"local:{settings.MEDIA_ROOT}")