RateMyCourse/backend/postings/api/urls.py

11 lines
245 B
Python
Raw Normal View History

2018-09-16 16:52:23 +00:00
from .views import UniReviewRudView,UniReviewAPIView
from django.urls import re_path
urlpatterns = [
re_path(r'^(?P<pk>\d+)/$', UniReviewRudView.as_view(), name='post-rud'),
re_path(r'^$', UniReviewAPIView.as_view(), name='post-create')
]