mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
layerindex/urls.py: fix submit/thanks/ url
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.orling@konsulko.com>
This commit is contained in:
parent
a3a5a209a4
commit
7b316cddfb
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user