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