Django - is_ajax() not returning true
问题 I know there are a lot of questions already asked on this but I am not able to get around with it. Please have a look: from a profile view when "update" button is pressed I want the user to be displayed with an editable form with values picked from database. So as of now there is no POST data. template: <form id="shw-form" action="/update_user_profile/{{r_user.id}}" method="get" enctype="multipart/form-data"> <button type="submit" id="upd-btn" class="btn btn-lg btn-warning" onclick="update