69b0b13ad3
- PEP8 - Fichiers inutilisés
11 lines
350 B
Python
11 lines
350 B
Python
from django.conf.urls import patterns, url
|
|
from propositions.views import PropDelete
|
|
|
|
urlpatterns = patterns(
|
|
'propositions.views',
|
|
url(r'^$', 'liste'),
|
|
url(r'^new/?$', 'create_prop'),
|
|
url(r'^(?P<id>\d+)/oui/?$', 'repoui'),
|
|
url(r'^(?P<id>\d+)/non/?$', 'repnon'),
|
|
url(r'^(?P<pk>\d+)/supprimer/?$', PropDelete.as_view()),
|
|
)
|