styling fixes, progress on homepage

This commit is contained in:
Jonas Heinrich 2025-05-19 10:23:10 +02:00
parent fbdb6e779f
commit b95a3abca3
4 changed files with 31 additions and 2 deletions

View file

@ -0,0 +1,7 @@
from .models import GovernmentPlan
def plans_context(request):
if request.path == "/": # nur auf der Startseite
plans = GovernmentPlan.objects.filter(public=True)
return {"plans": plans}
return {}