Download app_core/context_processors.py from ktongue/ENISE: direct link, hf CLI and curl.
- Browser
- Download file 204 Bytes
-
https://huggingface.co/spaces/ktongue/ENISE/resolve/main/app_core/context_processors.py
- Command line
-
hf download hf://spaces/ktongue/ENISE/app_core/context_processors.py
-
curl -L -o context_processors.py https://huggingface.co/spaces/ktongue/ENISE/resolve/main/app_core/context_processors.py
204 Bytes
| from .models import Statistique | |
| def statistiques(request): | |
| """Inclut les statistiques dans tous les templates""" | |
| return { | |
| 'statistiques': Statistique.objects.all().order_by('ordre') | |
| } |