Skip to content

Commit 512a53f

Browse files
committed
Add comment
1 parent ed40509 commit 512a53f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readthedocs/proxito/urls.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@
147147
# (Sub)project single version
148148
url(
149149
(
150+
# the /? at the end of this regex is for ``/projects/subproject``
151+
# so that it will get captured here and redirect properly.
150152
r'^(?:projects/(?P<subproject_slug>{project_slug})/?)?'
151153
r'(?P<filename>{filename_slug})$'.format(**pattern_opts)
152154
),

0 commit comments

Comments
 (0)