How to Fetch Data from Template Forms to Views in Django
The Crazy Programmer
NOVEMBER 18, 2018
In this tutorial, we’ll see how we can fetch text/data from HTML forms in our templates to views.py to process it and then send that data to another html page. Before starting, let’s have a look on our project folder that what files we have and in what directory these files are stored. Here we’ve home.html in our templates and views.py in my_website directory in our project folder.
Let's personalize your content