Django - How to show messages under ajax function
问题 I am using AjaxForm plugin to submit my form without refresh. like: $('#my_form_id').ajaxForm(function(){ //something on success or fail }); this works correctly. when i click submit button it saves form datas without refresh. But before this ; i had django messages on my template file like: {% for message in messages %} <div id="notice" align="center"> {{ message }} </div> {% endfor %} what this code does is displaying notifications if post saved correctly or something failed. now; i can't