Adding the core applications code to the repository

This commit is contained in:
artus
2016-08-05 10:41:43 +02:00
parent 243ff9153e
commit 5f4faf46ec
155 changed files with 13176 additions and 0 deletions

10
sujets/urls.py Normal file
View File

@@ -0,0 +1,10 @@
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'(?P<pk>[0-9]+)/$', views.SujetDetailsView.as_view(), name="details"),
url(r'(?P<pk>[0-9]+)/update/$', views.SujetUpdateView.as_view(), name="update"),
url(r'liste/$', views.SujetListView.as_view(), name="liste"),
url(r'create/$', views.SujetCreateView.as_view(), name="create"),
]