[Fixed]-Error Page not found (404) Request Method: GET in Django

1👍

Like the error says, there is no URL that matches just /usuarios/modificar/. Your modification view expects a third segment, which is an integer (which you’ve called email, for some reason).

You’ve defined the link correctly once, inside modificarUsuario.html, where you use the {% url %} tag to construct it. But in the base template you have just linked to /usarios/modificar/, which doesn’t exist; you should use the same structure there to link to a specific user’s modification page.

(Actually there are a large number of other things wrong with this code, but that will do for starters.)

Leave a comment