cms: ajout de plugins manquant
[auf_framonde.git] / project / framonde / context_processors.py
1 from .models import *
2
3
4 def abonnement(request):
5 abonne_form = AbonneForm()
6 desabonne_form = DesinscireForm()
7 return {
8 'abonne_form': abonne_form, 'desabonne_form': desabonne_form
9 }
10
11
12 def archives(request):
13 archives = Archive.objects.filter(status=3).order_by('-date_pub')[:8]
14 return {
15 'archive_side': archives
16 }