Mercurial > sat_legacy_website
annotate sat_website/urls.py @ 154:87382593e514
fix EMAIL_BACKEND setting
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 02 Nov 2017 23:48:18 +0100 |
parents | b101828faa0e |
children |
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 """ | |
149
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
138
diff
changeset
|
23 from django.conf.urls import include, url |
150
b101828faa0e
split views.py in sub-modules
souliane <souliane@mailoo.org>
parents:
149
diff
changeset
|
24 from sat_website.views.whereami import WhereAmIView |
b101828faa0e
split views.py in sub-modules
souliane <souliane@mailoo.org>
parents:
149
diff
changeset
|
25 from sat_website.views.category import CategoryView |
0 | 26 |
149
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
138
diff
changeset
|
27 urlpatterns = [ |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
138
diff
changeset
|
28 url(r'^i18n/', include('django.conf.urls.i18n')), |
150
b101828faa0e
split views.py in sub-modules
souliane <souliane@mailoo.org>
parents:
149
diff
changeset
|
29 url(r'^whereami/?$', WhereAmIView.as_view()), |
b101828faa0e
split views.py in sub-modules
souliane <souliane@mailoo.org>
parents:
149
diff
changeset
|
30 url(r'^(?P<category>\w*)(.html)?$', CategoryView.as_view()), |
149
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
138
diff
changeset
|
31 ] |
0 | 32 |