Adding the core applications code to the repository
This commit is contained in:
10
sujets/urls.py
Normal file
10
sujets/urls.py
Normal 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"),
|
||||
]
|
||||
Reference in New Issue
Block a user