Add profile page

This commit is contained in:
2025-12-12 10:54:04 +05:30
parent 495dfe7b8e
commit 07dcb72deb
5 changed files with 47 additions and 7 deletions

View File

@@ -7,6 +7,7 @@ from notes import views, api_views
urlpatterns = [
path("", views.HomePage.as_view(), name="home"),
path("post-a-note/", views.PostNoteView.as_view(), name="post-a-note"),
path("profile/", views.ProfileView.as_view(), name="profile"),
path("login/", LoginView.as_view(), name='login'),
path("api/notes/", api_views.NoteListView.as_view(), name="api-notes-list"),
path("api-auth/", include("rest_framework.urls", namespace="rest_framework")),