6👍
✅
Replace :
url: 'filter.views.myajax'
With
url: '{% url filter.views.myajax %}'
# **For Django >= 1.5 **
url: '{% url "filter.views.myajax" %}'
inside $.ajax({})
Source:stackexchange.com