[Answer]-Phileo Django Liking App

1👍

✅

This is what was missing.

From the docs

{% load staticfiles %}
<script src="{% static "js/eldarion-ajax.min.js" %}"></script>

This of course is optional. You can roll your own javascript handling
as the view also returns data in addition to rendered HTML.
Furthermore, if you don’t want ajax at all the view will handle a
regular POST and perform a redirect.

Leave a comment