003aa813c6bd3fa322b8c850165f2fe67368a31a
[semainetech_django.git] / project / support / views.py
1 # -*- encoding: utf-8 -*-
2
3 from django.template import Context, RequestContext
4 from django.shortcuts import redirect, render_to_response
5 from models import FAQ
6
7 def faq_et_ressources(request):
8 """
9 """
10 data = {}
11 return render_to_response('support/faq_et_ressources.html', data, RequestContext(request))
12
13 def faq(request):
14 """
15 Page qui liste les pages de FAQ publiées.
16 """
17 data = {
18 'faq_public_liste' : FAQ.objects.filter(public=True),
19 }
20 return render_to_response('support/faq.html', data, RequestContext(request))
21
22 def docs(request):
23 """
24 """
25 data = {}
26 return render_to_response('support/docs.html', data, RequestContext(request))