[Answered ]-Reverse for 'data' with arguments '(1,)' and keyword arguments '{}' not found

2👍

✅

Your data url pattern takes two arguments a stock id and a choice id; you are only supplying one.

You need to supply both, like this:

{% url 'stocks:data' stocks_id=stocks.id choice_id=choice.id %}

Leave a comment