Add precommit to run ruff

This commit is contained in:
2025-12-12 11:16:58 +05:30
parent 5c0289e715
commit 219acb3513
14 changed files with 165 additions and 27 deletions

View File

@@ -8,8 +8,8 @@ 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("logout/", LogoutView.as_view(), name='logout'),
path("login/", LoginView.as_view(), name="login"),
path("logout/", LogoutView.as_view(), name="logout"),
path("api/notes/", api_views.NoteListView.as_view(), name="api-notes-list"),
path("api-auth/", include("rest_framework.urls", namespace="rest_framework")),
]