website/www/conservancy/apps/assignment/urls.py

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'),
]