Mercurial > sat_legacy_website
annotate sat_website/urls.py @ 145:bb392a2dc07b
arizuka website is offline, change URL to archive.org
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 17 Oct 2017 04:44:39 +0200 |
parents | 2ec5653b190a |
children | b1c16cd53b62 |
rev | line source |
---|---|
0 | 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'), | |
23 | 27 (r'^i18n/', include('django.conf.urls.i18n')), |
138
2ec5653b190a
add url "whereami" to get the client IP address
souliane <souliane@mailoo.org>
parents:
23
diff
changeset
|
28 url(r'^whereami/?$', 'whereami') |
0 | 29 ) |
30 |