coalition.core.views
Core application views.
Attributes
Functions
|
Read React's asset-manifest.json to get the correct filenames with hashes |
|
|
|
Serve the robots.txt file to prevent search engine indexing |
|
Dedicated health check endpoint for the Django backend. |
Module Contents
- coalition.core.views.get_react_assets() dict[str, str] [source]
Read React’s asset-manifest.json to get the correct filenames with hashes
- coalition.core.views.home(request: django.http.HttpRequest) django.http.HttpResponse [source]
- coalition.core.views.robots_txt(request: django.http.HttpRequest) django.http.HttpResponse [source]
Serve the robots.txt file to prevent search engine indexing
- coalition.core.views.health_check(request: django.http.HttpRequest) django.http.JsonResponse [source]
Dedicated health check endpoint for the Django backend.
This endpoint checks: 1. Application status 2. Database connectivity 3. Available memory and system resources
Returns a JSON response with health status information.