Mercurial > sat_legacy_website
comparison sat_website/urls.py @ 23:2fdbf8ebb72b
upgrade to Django 1.7.3
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 17 Jan 2015 21:36:25 +0100 |
parents | 9305c6458e2f |
children | 2ec5653b190a |
comparison
equal
deleted
inserted
replaced
22:9bab976241dc | 23:2fdbf8ebb72b |
---|---|
22 """ | 22 """ |
23 from django.conf.urls import patterns, include, url | 23 from django.conf.urls import patterns, include, url |
24 | 24 |
25 urlpatterns = patterns('sat_website.views', | 25 urlpatterns = patterns('sat_website.views', |
26 url(r'^(?P<category>\w*)(.html)?$', 'generic_cat'), | 26 url(r'^(?P<category>\w*)(.html)?$', 'generic_cat'), |
27 (r'^i18n/', include('django.conf.urls.i18n')), | |
27 ) | 28 ) |
28 | 29 |