My edit function throws a NoReverseMatch (Reverse for 'editpage' with arguments '('',)' not found. 1 pattern(s) tried: ['editpage/(?P[^/]+)/$']) when I try and submit edits on the page.

However, when testing, despite this error, my edits do end up saving.

Why am I getting this error if my edit function works?

Error error

page.html page.html

editpage code editpage function

edipage.html editpage.html

urls.py urls.py


You must log in to answer this question.

Browse other questions tagged .