I am a newbie to Django. Trying to create my first webapp.
I ran into a problem. I have 3 templates store, kart and checkout. I am able to navigate from store to kart without any issues. Now I wish to move to checkout page from the kart page. I am using a button for this purpose.
Below given is the code present in my kart.html page.
Below given is my urls.py file
And this is my views.py file
Could anyone tell me what I am doing wrong. Thanks in advance!!
There is a typo you are missing %
href="{% url 'checkout' %}"