Mes premières dents (les incisives) sur Django...
[progfou.git] / auf_zap / urls.py
1 from django.conf.urls.defaults import *
2 from django.conf import settings
3
4 from django.contrib import admin
5 admin.autodiscover()
6
7 urlpatterns = patterns('',
8 (r'^formations/', include('auf_zap.formations.urls')),
9
10 # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
11 # to INSTALLED_APPS to enable admin documentation:
12 # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
13
14 # Uncomment the next line to enable the admin:
15 (r'^admin/', include(admin.site.urls)),
16 (r'^media/(?P<path>.*)$', 'django.views.static.serve',
17 {'document_root': settings.MEDIA_ROOT}),
18 )