Skip to content

Commit 533eb49

Browse files
Remove stray character from regex substring grouping
Author: Christophe Pettus <xof@thebuild.com> Discussion: https://postgr.es/m/BB10E027-775C-4A4E-A602-626370D81338@thebuild.com
1 parent c93898e commit 533eb49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pgweb/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
re_path(r'^about/news/taglist.json/$', pgweb.news.views.taglist_json),
4141
re_path(r'^about/events/$', pgweb.events.views.main),
4242
re_path(r'^about/eventarchive/$', pgweb.events.views.archive),
43-
re_path(r'^about/event/(?P<itemid>\d+)(<?P<slug>-.*)?/$', pgweb.events.views.item),
43+
re_path(r'^about/event/(?P<itemid>\d+)(?P<slug>-.*)?/$', pgweb.events.views.item),
4444
re_path(r'^about/event/(?P<slug>[^/]+)-(?P<itemid>\d+)/$', pgweb.events.views.item),
4545
re_path(r'^about/featurematrix/$', pgweb.featurematrix.views.root),
4646
re_path(r'^about/featurematrix/detail/(\d+)/$', pgweb.featurematrix.views.detail_legacy),

0 commit comments

Comments
 (0)