Skip to content Skip to sidebar Skip to footer

Reverse For '' Not Found. - Django

I'm a beginner at Django/programming in general. I have a problem with a redirecting url button on one of my HTML pages. Basically I have a collection page where one can add plants

Solution 1:

It's a simple spelling error:

<button formaction="{% url 'plantdetail-create' request.plant.id %}">Add details</button>

Post a Comment for "Reverse For '' Not Found. - Django"