Monday, December 31, 2018

Posting data from templates to views.py without using forms.

Well , I want to post data from templates to views.py by clicking a button without using forms. Basically the button should not be of type submit because I don't want the page to be refreshed .I want to view the data from database after the query in the same page. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9c195b3e-ab87-4a5a-a82d-ed8c5885477b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment