summaryrefslogtreecommitdiffstats
path: root/virtualenv/pffedportal
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2013-03-21 11:09:49 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2013-03-21 11:09:49 (GMT)
commit83168f3aed651a2591cdaeb6e76ea50e18c73af3 (patch)
treeec88696b4ecb3fc0ffb4534abdd098c4e3170bcc /virtualenv/pffedportal
parentdf1ba0eef933730126b41c89c380a7a2ef4d440d (diff)
downloadunivnautes-old-83168f3aed651a2591cdaeb6e76ea50e18c73af3.zip
univnautes-old-83168f3aed651a2591cdaeb6e76ea50e18c73af3.tar.gz
univnautes-old-83168f3aed651a2591cdaeb6e76ea50e18c73af3.tar.bz2
pffedportal: add /licences and /conditions pages
Diffstat (limited to 'virtualenv/pffedportal')
-rw-r--r--virtualenv/pffedportal/urls.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/virtualenv/pffedportal/urls.py b/virtualenv/pffedportal/urls.py
index 7ffb26c..88f6f5b 100644
--- a/virtualenv/pffedportal/urls.py
+++ b/virtualenv/pffedportal/urls.py
@@ -10,6 +10,11 @@ urlpatterns = patterns('',
(r'^authsaml2/', include('authentic2.authsaml2.urls')),
)
+urlpatterns += patterns('django.views.generic.simple',
+ (r'^licences$', 'direct_to_template', {'template': 'licences.html'}),
+ (r'^conditions$', 'direct_to_template', {'template': 'conditions.html'}),
+)
+
if settings.EMAIL_RCPT and settings.EMAIL_HOST:
urlpatterns += patterns('', url(r'^mail$', 'base.views.mail'))