comparison sat_website/urls.py @ 0:9305c6458e2f

initial commit
author Goffi <goffi@goffi.org>
date Sat, 28 Jul 2012 20:36:32 +0200
parents
children 2fdbf8ebb72b
comparison
equal deleted inserted replaced
-1:000000000000 0:9305c6458e2f
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3
4 """
5 SàT website: Salut à Toi's presentation website
6 Copyright (C) 2012 Jérôme Poisson (goffi@goffi.org)
7
8 This file is part of SàT website.
9
10 SàT website is free software: you can redistribute it and/or modify
11 it under the terms of the GNU Affero General Public License as published by
12 the Free Software Foundation, either version 3 of the License, or
13 (at your option) any later version.
14
15 Foobar is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU Affero General Public License for more details.
19
20 You should have received a copy of the GNU Affero General Public License
21 along with Foobar. If not, see <http://www.gnu.org/licenses/>.
22 """
23 from django.conf.urls import patterns, include, url
24
25 urlpatterns = patterns('sat_website.views',
26 url(r'^(?P<category>\w*)(.html)?$', 'generic_cat'),
27 )
28