page perso : permission
[auf_rh_dae.git] / project / views.py
index 85fb6c7..b14a92b 100644 (file)
@@ -6,3 +6,24 @@ from django.template import RequestContext
 @login_required
 def index(request):
     return render_to_response('index.html', {}, RequestContext(request))
 @login_required
 def index(request):
     return render_to_response('index.html', {}, RequestContext(request))
+
+def erreur404(request) :
+    c = {
+        'user':request.user,
+    }
+    return render_to_response('404.html', c,
+            context_instance = RequestContext(request))
+
+def erreur500(request) :
+    c = {
+        'user':request.user,
+    }
+    return render_to_response('500.html', c,
+            context_instance = RequestContext(request))
+            
+def erreur550(request) :
+    c = {
+        'user':request.user,
+    }
+    return render_to_response('550.html', c,
+            context_instance = RequestContext(request))