The url returned by the reverse lookup ends in /submit/thanks/ but the regex was improperly searching for a string without the terminating "/".
Thank you to Pawel Zalewski for reporting the 404 error. Signed-off-by: Tim Orling <tim.orl...@konsulko.com> --- layerindex/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layerindex/urls.py b/layerindex/urls.py index de15bb0..82af699 100644 --- a/layerindex/urls.py +++ b/layerindex/urls.py @@ -59,7 +59,7 @@ urlpatterns = [ url(r'^classes/$', RedirectView.as_view(url=reverse_lazy('class_search', args=('master',)), permanent=False)), url(r'^submit/$', edit_layer_view, {'template_name': 'layerindex/submitlayer.html'}, name="submit_layer"), - url(r'^submit/thanks$', + url(r'^submit/thanks/$', TemplateView.as_view( template_name='layerindex/submitthanks.html'), name="submit_layer_thanks"), -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61168): https://lists.yoctoproject.org/g/yocto/message/61168 Mute This Topic: https://lists.yoctoproject.org/mt/101659522/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-