1👍
✅
Your show_checkout
view is taking a second id
parameter that you are not accounting for in your URLs.
You need to add it to your URL as follows:
url(r'^checkout/(?P<checkout_id>[\w|\W]+)$',show_checkout,name="checkout"),
And when you call the URL in your template, you need to pass the id
that you are asking for in the view like so:
{% url checkout checkout.id %}
Or if you are using Django 1.5:
{% url 'checkout' checkout.id %}
Source:stackexchange.com