Reputation: 1
Hello every one , my problem is in django and ajax
i want to use two block one for django and the other for ajax but the ajax code is not reading , why ?
{% extends 'store/main.html' %} {% load static %} {% block content %}
// code html{% endblock content_ajax %}`
block content_ajax your text%}
//code ajax
{% endblock content_ajax %}`
#
Upvotes: 0
Views: 18
Reputation: 608
Inside store/main.html
{% block content_ajax %}
{% endblock content_ajax %}
Upvotes: 0