bornhack-website/camps/context_processors.py

6 lines
106 B
Python

from .models import Camp
def current_camp(request):
return {'current_camp': Camp.objects.current()}