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

10 lines
277 B
Python
Raw Normal View History

2021-11-30 05:15:59 +00:00
from django.conf.urls import url
2021-11-30 05:34:26 +00:00
from .views import AssignmentCreateView, AssignmentThanksView
2021-11-30 05:15:59 +00:00
urlpatterns = [
2021-11-30 05:34:26 +00:00
url(r'^$', AssignmentCreateView.as_view(), name='assignement-add'),
url(r'^(?P<pk>[\w-]+)/$', AssignmentThanksView.as_view(), name='assignment-thanks'),
2021-11-30 05:15:59 +00:00
]