Skip to content

Commit cf875b2

Browse files
committed
refactor: Update project URL pattern to use path instead of re_path
1 parent dada925 commit cf875b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blt/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@
452452
re_path(r"^api/v1/createwallet/$", website.views.create_wallet, name="create_wallet"),
453453
re_path(r"^api/v1/count/$", website.views.issue_count, name="api_count"),
454454
re_path(r"^api/v1/contributors/$", website.views.contributors, name="api_contributor"),
455-
re_path(r"^project/(?P<slug>\w+)/$", ProjectDetailView.as_view(), name="project_view"),
455+
path("project/<slug:slug>/", ProjectDetailView.as_view(), name="project_view"),
456456
re_path(
457457
r"^api/v1/createissues/$",
458458
csrf_exempt(IssueCreate.as_view()),

0 commit comments

Comments
 (0)