coalition.content.views ======================= .. py:module:: coalition.content.views .. autoapi-nested-parse:: Views for content app. Functions --------- .. autoapisummary:: coalition.content.views.theme_css coalition.content.views.active_theme_css Module Contents --------------- .. py:function:: theme_css(request: django.http.HttpRequest, theme_id: int = None) -> django.http.HttpResponse Serve dynamic CSS for a specific theme or the active theme. This view generates CSS on-the-fly based on theme configuration. Useful for including in HTML templates via tags. Usage: /theme.css - Serves CSS for the active theme /theme/{id}.css - Serves CSS for a specific theme .. py:function:: active_theme_css(request: django.http.HttpRequest) -> django.http.HttpResponse Serve CSS for the currently active theme