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