archives: correction du texte pour Amélie
[auf_framonde.git] / project / urls / 10-admin.py
CommitLineData
6837e829
PH
1try:
2 from django.conf.urls.defaults import patterns, include, \
3 handler500, handler404, url
4except ImportError:
5 from django.conf.urls import patterns, include, \
6 handler500, handler404, url
7
8from django.contrib import admin
9
10handler404
11handler500 # Pyflakes
12
13admin.autodiscover()
14
15urlpatterns = patterns('',
16 url(r'^jsi18n/(?P<packages>\S+?)/$', 'django.views.i18n.javascript_catalog'),
17 url(r'^admin/', include(admin.site.urls)),
18)
19