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 627B

3 years ago
3 years ago
123456789101112
  1. from django.urls import path
  2. from . import views
  3. urlpatterns = [
  4. path('', views.index, name='index'),
  5. path('mylicenses/', views.LicenseViewOwn.as_view(), name='my-licenses'),
  6. path('givenlicenses/', views.LicenseViewGiven.as_view(), name='given-licenses'),
  7. path('license/<int:fid>/create/', views.create_license, name='create-license'),
  8. path('license/show/<int:pk>/own/', views.get_license_details, name='license-detail-own'),
  9. path('license/show/<int:pk>/given/', views.get_license_details, name='license-detail-given'),
  10. path('delete_license/<int:id>', views.delete_license, name='delete_license')
  11. ]