Commit da01c4d1 authored by Samuel GAIST's avatar Samuel GAIST

[ui][urls] Move comment to the right place

The comment was not matching the path entry
it was above of.
parent 7180a072
Pipeline #46996 passed with stage
in 17 minutes and 12 seconds
......@@ -47,10 +47,6 @@ urlpatterns = [
),
path("events/<author_name>/", views.activity_stream, name="activity-stream"),
path("docreq/<author_name>/", views.docreq, name="docreq"),
# Activation keys get matched by \w+ instead of the more specific
# [a-fA-F0-9]{40} because a bad activation key should still get to the
# view; that way it can return a sensible "invalid key" message instead
# of a confusing 404.
path(
"signup/",
register,
......@@ -68,6 +64,10 @@ urlpatterns = [
),
name="registration-complete",
),
# Activation keys get matched by \w+ instead of the more specific
# [a-fA-F0-9]{40} because a bad activation key should still get to the
# view; that way it can return a sensible "invalid key" message instead
# of a confusing 404.
path(
"signup/activate/<activation_key>/", activate, name="registration-activation",
),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment