[Answer]-Dynamic templates with Django and Ajax

1👍

as you mentioned above:

Use Django Template language. Pass the data from view to template dynamically.

Read Django Template Language documentation.

For JS :
its better to write your js in home.html…. use {% include %} tag for other html

Leave a comment