Skip to content

Commit

Permalink
Feat: Add LoginView to api/urls.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SverreNystad committed Jan 4, 2024
1 parent 580a5ca commit 0e4c13d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/api/urls.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from django.urls import path

from api.views import hello_world
from users.views import CreateUserView
from users.views import CreateUserView, LoginView

urlpatterns = [
path("hello_word", hello_world),
path("create-user/", CreateUserView.as_view(), name="create-user"),
path("login/", LoginView, name="login"),
]

0 comments on commit 0e4c13d

Please sign in to comment.