My webpage has a <div>
that is dynamically generated by Django on the server side.
I use JavaScript with the fetch()
method on the client side to send a GET request and update a database (such as post likes).
After updating the database, I want to refresh the <div>
with the new data. Is this achievable?