1👍
✅
Your error isn’t related to your function arguments. It explicitly states the error is a reverse
error.
The traceback will tell you exactly where reverse
was called from, and that function needs to be updated to use 3 arguments, not 2.
It would be a reverse()
call directly in python, {% url %}
via template, get_absolute_url
with the wrong parameters, etc., but the traceback will tell you exactly where.
0👍
Post a complete stack trace of error so that it can be known which file is the cause for issue.
Check your templates. There is a possibility that django is trying to call the url in templates using only two args. Try calling url in templates using namespaces and names as given below.
{% url 'go' arg1 arg2 arg3 %}
Source:stackexchange.com