Skip to content Skip to sidebar Skip to footer

NoReverseMatch At /... With No Argument Not Found

Please at all. I'm currently facing this issue trying to redirect to previous page after form submission ** NoReverseMatch at /studentportal/8/result/resultcreate/ Reverse for 'stu

Solution 1:

It happens because you have pk arg in your path that you don't need for create as I understand. So just change you path to something like :

path('result/resultcreate/', ResultCreateView.as_view(), name='result_create')

Or even I would simplify it to

path('result/', ResultCreateView.as_view(), name='result_create')

Post a Comment for "NoReverseMatch At /... With No Argument Not Found"