Coverage for apps / core / context_processors.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-04-12 10:49 +0000

1"""Template context processors for global template variables.""" 

2 

3from django.conf import settings 

4 

5 

6def app_context(request): 

7 """Provide auth_mode and version to all templates.""" 

8 return { 

9 "auth_mode": settings.AUTH_MODE, 

10 "cookie_version": settings.COOKIE_VERSION, 

11 } 

← Back to Dashboard