1
|
from django.conf.urls import patterns, url
|
2
|
from django.conf import settings
|
3
|
from django.conf.urls.static import static
|
4
|
|
5
|
urlpatterns = patterns('',
|
6
|
url(r'^accueil$', 'webstat.views.statview', name='accueil'),
|
7
|
#url(r'^results/(?P<form_id>\d+)/(?P<envoi>[a-zA-Z]{4,5})', 'webstat.views.result_view', name='results')
|
8
|
#url(r'^results/(?P<form_id>\d+)', 'webstat.views.result_view', name='results')
|
9
|
url(r'^results$', 'webstat.views.result_view', name='results')
|
10
|
)+static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|