Skip to content

Commit

Permalink
Register URL for paper upload API
Browse files Browse the repository at this point in the history
  • Loading branch information
gzurowski committed Oct 22, 2024
1 parent 98cff02 commit 6b21892
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/researchhub/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import search.urls
import user.views
from citation.views import CitationEntryViewSet, CitationProjectViewSet
from paper.views import paper_upload_views
from researchhub.settings import INSTALLED_APPS, USE_DEBUG_TOOLBAR
from researchhub_comment.views.rh_comment_view import RhCommentViewSet
from review.views.review_view import ReviewViewSet
Expand Down Expand Up @@ -252,6 +253,11 @@
path("email_notifications/", mailing_list.views.email_notifications),
path("health/", researchhub.views.healthcheck),
path("", researchhub.views.index, name="index"),
path(
"paper/upload/",
paper_upload_views.PaperUploadView.as_view(),
name="paper_upload",
),
path("robots.txt", researchhub.views.robots_txt, name="robots_txt"),
path(
"webhooks/persona/",
Expand Down

0 comments on commit 6b21892

Please sign in to comment.