Mercurial > sat_legacy_website
view sat_website/urls.py @ 108:1da8a1885fbf
reverted patch bc6a932b6328
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 17 Oct 2015 16:59:15 +0200 |
parents | 2fdbf8ebb72b |
children | 2ec5653b190a |
line wrap: on
line source
#!/usr/bin/python # -*- coding: utf-8 -*- """ SàT website: Salut à Toi's presentation website Copyright (C) 2012 Jérôme Poisson (goffi@goffi.org) This file is part of SàT website. SàT website 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. Foobar 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 Foobar. If not, see <http://www.gnu.org/licenses/>. """ from django.conf.urls import patterns, include, url urlpatterns = patterns('sat_website.views', url(r'^(?P<category>\w*)(.html)?$', 'generic_cat'), (r'^i18n/', include('django.conf.urls.i18n')), )