Skip to content
Advertisement

Tag: django-urls

Django | JS variable inside dynamic URL

I’m trying to pass a javascript variable inside a dynamic url using Django. I have the following path I’m able to retrieve the “Task” fields I created (id, title, description, …) depending on what task I select inside the HTML (this is done using AJAX and the Django-REST Framework). However, I’m having some trouble on rendering javascript values inside dynamic

Advertisement