9 lines
277 B
Python
9 lines
277 B
Python
from django.conf.urls import url
|
|
|
|
from .views import AssignmentCreateView, AssignmentThanksView
|
|
|
|
|
|
urlpatterns = [
|
|
url(r'^$', AssignmentCreateView.as_view(), name='assignement-add'),
|
|
url(r'^(?P<pk>[\w-]+)/$', AssignmentThanksView.as_view(), name='assignment-thanks'),
|
|
]
|