top of page

Django-submit-form-without-refresh

  • compfumasahou
  • Jan 28, 2022
  • 1 min read
if you are planning to use an ajax submit with jquery you should not return html from your view.. I propose you to do this instead: html:












django-submit-form-without-refresh


This means that updating parts of a web page is possible, without reloading the ... of the script prevents forms from submitting, therefore, preventing page reload.. from django import forms from .models import Post class PostForm(forms. ... The web browser knows how to handle this type of content without any further processing. ... After saving and refreshing the page http://127.0.0.1:8000 you will see a .... Nov 10, 2020 — I hope my title is enough to understand what i want, i have this form in my html where the data updating in my database, 3925e8d270





 
 
 

Recent Posts

See All

Comments


© 2023 by Parker Owen. Proudly created with Wix.com

Email: info@mysite.com                         Tel: 123-456-7890

  • Twitter Basic
  • Facebook Basic
  • Pinterest Basic
bottom of page