From 1bbcb40a39f8d5c33aa092c6567f78cc47112b8a Mon Sep 17 00:00:00 2001 From: etienne Date: Wed, 20 Aug 2008 10:05:51 +0000 Subject: Licence change to AGPL --- urls.py | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'urls.py') diff --git a/urls.py b/urls.py index 9fb3b60..9db8686 100644 --- a/urls.py +++ b/urls.py @@ -1,17 +1,31 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2008 Étienne Loks -# This program can be distributed under the terms of the GNU GPL. -# See the file COPYING. + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +# See the file COPYING for details. from django.conf.urls.defaults import * urlpatterns = patterns('', - # Uncomment this for admin: (r'^admin/', include('django.contrib.admin.urls')), (r'^papillon/$', 'papillon.polls.views.index'), - (r'^papillon/edit/(?P\w+)/$', 'papillon.polls.views.createOrEdit'), + (r'^papillon/edit/(?P\w+)/$', + 'papillon.polls.views.createOrEdit'), (r'^papillon/poll/(?P\w+)/$', 'papillon.polls.views.poll'), (r'^papillon/poll/(?P\w+)/vote$', 'papillon.polls.views.poll'), - (r'^static/(?P.*)$', 'django.views.static.serve', {'document_root': 'static/'}), + (r'^static/(?P.*)$', 'django.views.static.serve', + {'document_root': 'static/'}), ) -- cgit v1.2.3