carto_1_1 : view pour home
authorDavin Baragiotta <davin.baragiotta@auf.org>
Thu, 30 Aug 2012 23:27:21 +0000 (19:27 -0400)
committerDavin BARAGIOTTA <davin.baragiotta@auf.org>
Thu, 30 Aug 2012 23:27:21 +0000 (19:27 -0400)
ateliers/django/carto_1_1/views.py [new file with mode: 0644]

diff --git a/ateliers/django/carto_1_1/views.py b/ateliers/django/carto_1_1/views.py
new file mode 100644 (file)
index 0000000..986b874
--- /dev/null
@@ -0,0 +1,8 @@
+# -*- encoding: utf-8 -*-
+
+from django.shortcuts import render_to_response
+from django.template import Context, RequestContext
+
+def home(request):
+    c = {}
+    return render_to_response("home.html", Context(c), context_instance = RequestContext(request))