from django.conf.urls import url, include from django.conf import settings from djangoldp.views import LDPViewSet from .models import ClientInvoice from .models import FreelanceInvoice urlpatterns = [ url(r'^client-invoices', LDPViewSet.urls(model=ClientInvoice)), url(r'^freelance-invoices', LDPViewSet.urls(model=FreelanceInvoice)), ]