Esempio n. 1
0
    ResultUpdate,
    LegacySubmissionCreate,
)

app_name = "evaluation"

urlpatterns = [
    path("config/", ConfigUpdate.as_view(), name="config-update"),
    path("methods/", MethodList.as_view(), name="method-list"),
    path("methods/create/", MethodCreate.as_view(), name="method-create"),
    path(
        f"methods/create/{method_upload_widget.ajax_target_path}",
        method_upload_widget.handle_ajax,
        name="method-upload-ajax",
    ),
    path("methods/<uuid:pk>/", MethodDetail.as_view(), name="method-detail"),
    path("submissions/", SubmissionList.as_view(), name="submission-list"),
    path(
        "submissions/create/",
        SubmissionCreate.as_view(),
        name="submission-create",
    ),
    path(
        "submissions/create-legacy/",
        LegacySubmissionCreate.as_view(),
        name="submission-create-legacy",
    ),
    path(
        f"submissions/create-legacy/{submission_upload_widget.ajax_target_path}",
        submission_upload_widget.handle_ajax,
        name="submission-upload-legacy-ajax",
Esempio n. 2
0
         LeaderboardDetail.as_view(),
         name="leaderboard"),
    path(
        "<slug>/observable/<slug:kind>/",
        ObservableDetail.as_view(),
        name="observable-detail",
    ),
    path("<slug>/update/", PhaseUpdate.as_view(), name="phase-update"),
    path(
        "<slug>/submissions/create/",
        SubmissionCreate.as_view(),
        name="submission-create",
    ),
    path(
        "<slug>/submissions/create-legacy/",
        LegacySubmissionCreate.as_view(),
        name="submission-create-legacy",
    ),
    path("methods/", MethodList.as_view(), name="method-list"),
    path("methods/create/", MethodCreate.as_view(), name="method-create"),
    path("methods/<uuid:pk>/", MethodDetail.as_view(), name="method-detail"),
    path("submissions/", SubmissionList.as_view(), name="submission-list"),
    path(
        "submissions/<uuid:pk>/",
        SubmissionDetail.as_view(),
        name="submission-detail",
    ),
    path("results/", LeaderboardRedirect.as_view()),
    path("leaderboard/", LeaderboardRedirect.as_view()),
]
Esempio n. 3
0
from grandchallenge.jqfileupload.views import uploader_widget_test

app_name = 'evaluation'

urlpatterns = [
    url(r'^config/$', ConfigUpdate.as_view(), name='config-update'),
    url(r'^methods/$', MethodList.as_view(), name='method-list'),
    url(r'^methods/create/$', MethodCreate.as_view(), name='method-create'),
    url(
        f'^methods/create/{method_upload_widget.ajax_target_path}$',
        method_upload_widget.handle_ajax,
        name='method-upload-ajax',
    ),
    url(
        r'^methods/(?P<pk>[0-9a-fA-F-]+)/$',
        MethodDetail.as_view(),
        name='method-detail',
    ),
    url(r'^submissions/$', SubmissionList.as_view(), name='submission-list'),
    url(
        r'^submissions/create/$',
        SubmissionCreate.as_view(),
        name='submission-create',
    ),
    url(
        r'^submissions/create-legacy/$',
        LegacySubmissionCreate.as_view(),
        name='submission-create-legacy',
    ),
    url(
        f'^submissions/create-legacy/{submission_upload_widget.ajax_target_path}$',