-1

I've included Product and services in Navbar links, If I click on Product link it should redirect to services page. I'm Using Django-Oscar. So I don't want to mess around with the urls.py and view.py.

1 Answers1

0

If you don't want to mess with urls and views rather just use javascript. So just add something similar to this on the navlink/navitem.

onclick="window.location.href = '{% url 'yoururl' %}';"
Reez0
  • 2,512
  • 2
  • 17
  • 39