Files
django-ram/ram/portal/context_processors.py
Daniele Viganò f4023f105f Add a default card image when no custom one exists (#23)
* Add a default card image when no custom one exists
* Add coming_soon.png source
* Use directly the svg source instead of the png raster
2023-10-01 16:36:30 +02:00

6 lines
131 B
Python

from django.conf import settings
def default_card_image(request):
return {"DEFAULT_CARD_IMAGE": settings.DEFAULT_CARD_IMAGE}