Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit e4919a5

Browse files
committed
Fix urls
1 parent eda41a1 commit e4919a5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

graphs/urls.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from django.urls import re_path
22

3-
from .views import BadgeHandler, GraphHandler
3+
from .views import BadgeHandler, BundleBadgeHandler, GraphHandler
44

55
urlpatterns = [
66
re_path(
@@ -15,13 +15,13 @@
1515
),
1616
re_path(
1717
"branch/(?P<branch>.+)/(graph|graphs)/bundle/badge.(?P<ext>[^/]+)",
18-
BadgeHandler.as_view(),
19-
"branch-bundle-badge",
18+
BundleBadgeHandler.as_view(),
19+
name="branch-bundle-badge",
2020
),
2121
re_path(
2222
"(graph|graphs)/bundle/badge.(?P<ext>[^/]+)",
23-
BadgeHandler.as_view(),
24-
"default-bundle-badge",
23+
BundleBadgeHandler.as_view(),
24+
name="default-bundle-badge",
2525
),
2626
re_path(
2727
"pull/(?P<pullid>[^/]+)/(graph|graphs)/(?P<graph>tree|icicle|sunburst|commits).(?P<ext>[^/]+)",

0 commit comments

Comments
 (0)