コード例 #1
0
 path("admin/", edc_lab_admin.urls),
 path("admin/", edc_data_manager_admin.urls),
 path("admin/", edc_export_admin.urls),
 path("admin/", edc_locator_admin.urls),
 path("admin/", edc_identifier_admin.urls),
 path("admin/", edc_metadata_admin.urls),
 path("admin/", edc_notification_admin.urls),
 path("admin/", edc_offstudy_admin.urls),
 path("admin/", edc_registration_admin.urls),
 path("admin/", edc_reference_admin.urls),
 path("admin/", edc_action_item_admin.urls),
 path("admin/", edc_pdutils_admin.urls),
 path("admin/", edc_pharmacy_admin.urls),
 path("admin/edc_visit_schedule/", edc_visit_schedule_admin.urls),
 path("administration/",
      AdministrationView.as_view(),
      name="administration_url"),
 path(
     "admin/inte_subject/",
     RedirectView.as_view(url="admin/inte_subject/"),
     name="subject_models_url",
 ),
 path("inte_consent/", include("inte_consent.urls")),
 path("inte_subject/", include("inte_subject.urls")),
 path("inte_ae/", include("inte_ae.urls")),
 path("inte_export/", include("inte_export.urls")),
 path("inte_lists/", include("inte_lists.urls")),
 path("inte_prn/", include("inte_prn.urls")),
 path("inte_screening/", include("inte_screening.urls")),
 path("subject/", include("inte_dashboard.urls")),
 path("edc_adverse_event/", include("edc_adverse_event.urls")),
コード例 #2
0
from django.urls.conf import include, path
from django.views.generic.base import RedirectView
from edc_dashboard.views import AdministrationView

urlpatterns = [
    path("accounts/", include("edc_auth.urls")),
    path("edc_dashboard/", include("edc_dashboard.urls")),
    path("administration/", AdministrationView.as_view(), name="administration_url"),
    path("edc_device/", include("edc_device.urls")),
    path("", RedirectView.as_view(url="admin/"), name="home_url"),
]