Skip to content

Commit

Permalink
Fix: Remove upload_pdf view from urls.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SverreNystad committed Feb 29, 2024
1 parent 3e20cf3 commit dcd3966
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/api/urls.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
from django.urls import path

from users.views import login, register_user
from documents.views import upload_pdf
from flashcards.views import generate_mock_flashcard
from documents.views import create_flashcards

urlpatterns = [
path("create-user/", register_user, name="create-user"),
path("login/", login, name="login"),
path("upload/", upload_pdf, name="upload"),
path("generate-mock-flashcard/", generate_mock_flashcard, name="generate-mock-flashcards"),
path("create-flashcards/", create_flashcards, name="create-flashcards"),
]

0 comments on commit dcd3966

Please sign in to comment.