[Answered ]-NoReverseMatch at Django

2👍

Your cod_experto value is “ASE-0048”, which does not match the regex \d+ – that only matches integers.

If you want to be able to accept values like that, you need to change your regex:

r'^confirmar/(?P<id_pedido>\d+)/(?P<cod_experto>[\w-]+)/$',

Leave a comment