3👍
✅
You are using wrong url name (shop
) to reverse. Have a look at shop/urls.py
file and see the actual name of the ^$
path. As there is already a namespace defined it should be reversed as shop:<your url name here>
.
Source:stackexchange.com