generated from SverreNystad/template_python_application
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Remove upload_pdf view from urls.py
- Loading branch information
1 parent
3e20cf3
commit dcd3966
Showing
1 changed file
with
0 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"), | ||
] |