Skip to content

Commit

Permalink
chore: Add urls for custom-api
Browse files Browse the repository at this point in the history
  • Loading branch information
katharinawuensche committed Nov 23, 2023
1 parent b1d1a00 commit e00e988
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions apis_ontology/urls.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
from apis_acdhch_default_settings.urls import urlpatterns
from rest_framework import routers
from django.urls import include, path
#from .jelinek_api_views import *
from .jelinek_api_views import *
from django.contrib.auth.decorators import login_required

app_name = "jelinek"


router = routers.DefaultRouter()

#router.register(r'f3_manifestation', F3ManifestationProductType, basename='F3ManifestationProductType')
#router.register(r'f31_performance', F31Performance, basename='F31Performance')
#router.register(r'f1_work', F1Work, basename='F1Work')
#router.register(r'honour', Honour, basename='Honour')
#router.register(r'search', Search, basename='Search')
#router.register(r'work_for_chapter', WorkForChapter, basename='WorkForChapter')
#router.register(r'search2', SearchV2, basename="Search2")
#router.register(r'entities_without_relations', EntitiesWithoutRelations, basename='EntitiesWithoutRelations')
router.register(r'f3_manifestation', F3ManifestationProductType, basename='F3ManifestationProductType')
router.register(r'f31_performance', F31Performance, basename='F31Performance')
router.register(r'f1_work', F1Work, basename='F1Work')
router.register(r'honour', Honour, basename='Honour')
router.register(r'search', Search, basename='Search')
router.register(r'work_for_chapter', WorkForChapter, basename='WorkForChapter')
router.register(r'search2', SearchV2, basename="Search2")
router.register(r'entities_without_relations', EntitiesWithoutRelations, basename='EntitiesWithoutRelations')

customurlpatterns = [
path('custom-api/', include(router.urls)),
Expand Down

0 comments on commit e00e988

Please sign in to comment.