djangoldp_urls.py 410 Bytes
Newer Older
Benoit Alessandroni's avatar
Benoit Alessandroni committed
1 2 3
"""djangoldp project URL Configuration"""
from django.conf.urls import url
from .views import PendingResourcesViewSet
4
from .views import ValidatedResourcesByStepViewSet
Benoit Alessandroni's avatar
Benoit Alessandroni committed
5 6

urlpatterns = [
7
    url(r'^steps/(?P<id>.+)/resources/validated/', ValidatedResourcesByStepViewSet.urls(model_prefix="resources-validated")),
Benoit Alessandroni's avatar
Benoit Alessandroni committed
8 9
    url(r'^resources/pending/', PendingResourcesViewSet.urls(model_prefix="resources-pending")),
]