Skip to content

Commit e5de70f

Browse files
committed
Fixed crash when running docs site with DEBUG=True
This was missed in efc51e8
1 parent efc51e8 commit e5de70f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@
5757
r"^(?P<lang>[a-z-]+)/(?P<version>[\w.-]+)/(?P<subpath>_downloads|_images|_source)/(?P<path>.*)$", # noqa: E501
5858
views_debug.sphinx_static,
5959
),
60-
re_path(r"^pots/(?P<pot_name>\w+\.pot)$", views.pot_file),
60+
re_path(r"^pots/(?P<pot_name>\w+\.pot)$", views_debug.pot_file),
6161
*urlpatterns,
6262
]

0 commit comments

Comments
 (0)