summaryrefslogtreecommitdiff
path: root/app/gtd/urls.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-11-16 16:12:13 -0500
committerluxagraf <sng@luxagraf.net>2023-11-16 16:12:13 -0500
commit6f5b74242bd9968853f224e67ce073e83014b344 (patch)
tree3d20c147c9317000e777dad59fdf503fd4e30076 /app/gtd/urls.py
parentc18e5764f4fd8cef76fed27e973cea552cdcbb80 (diff)
gtd: bug fix in project pages
Diffstat (limited to 'app/gtd/urls.py')
-rw-r--r--app/gtd/urls.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/gtd/urls.py b/app/gtd/urls.py
index 837ee66..44c1a32 100644
--- a/app/gtd/urls.py
+++ b/app/gtd/urls.py
@@ -48,16 +48,16 @@ urlpatterns = [
name="project-create"
),
path(
+ r'project/<int:pk>',
+ views.GTDProjectDetailView.as_view(),
+ name="project-detail"
+ ),
+ path(
r'project/<str:project_type>',
views.GTDProjectListView.as_view(),
name="project-list-type"
),
path(
- r'project/<pk>',
- views.GTDProjectDetailView.as_view(),
- name="project-detail"
- ),
- path(
r'project/<pk>/edit',
views.GTDProjectUpdateView.as_view(),
name="project-edit"