[Answer]-Invalid literal for int() with base 10: '345/add/Caipirinha'

1👍

You should be using {% url %} in your template so that Django generates the proper URL.

<a href="{% url 'barcomandas.views.addproduct' tabnumber=sometabnumber product=product %}"<li>{{ product }}</li></a>

Leave a comment