Digital Rights Management für elektronische Patientenakten
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

urls.py 648B

123456789101112131415161718
  1. from django.urls import include, path
  2. from rest_framework import routers
  3. from health_view import views
  4. from django.contrib import admin
  5. router = routers.DefaultRouter()
  6. router.register(r'users', views.UserViewSet)
  7. router.register(r'groups', views.GroupViewSet)
  8. router.register(r'folderpartnames', views.GetFolderPartNames)
  9. # Wire up our API using automatic URL routing.
  10. # Additionally, we include login URLs for the browsable API.
  11. urlpatterns = [
  12. path('admin/', admin.site.urls),
  13. path('', include(router.urls)),
  14. path('', include('health_view.urls')),
  15. path('api-auth/', include('rest_framework.urls', namespace='rest_framework'))
  16. ]