[Fixed]-Django template, reload after javasctipt post

1👍

You need to call location.reload inside the post call:

$.post(
    '/cela/acceptarRebutjarPost/'+pkpost+"/"+action,
    {'text': retVal},
    function(response){ location.reload(); }
);
👤davko

Leave a comment