Fakultas Ilmu Komputer UI

urls.py 461 Bytes
Newer Older
1
from django.urls import path
2
from donor.views import JadwalDonorView, DaftarDonorView, AgendaDonorView, RiwayatDonorView, FormulirDaftarDonorView
3
4

urlpatterns = [
5
6
7
    path('jadwal/', JadwalDonorView.as_view()),
    path('jadwal/<int:pk>/daftar/', DaftarDonorView.as_view()),
    path('jadwal/agenda/', AgendaDonorView.as_view()),
8
9
    path('jadwal/riwayat/', RiwayatDonorView.as_view()),
    path('formulir-daftar/<int:pk>', FormulirDaftarDonorView.as_view())
10
]