Python Forum
Posting html values to views/models in Django - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: Posting html values to views/models in Django (/thread-20877.html)



Posting html values to views/models in Django - Malt - Sep-04-2019

This is very basic and I'm new to web development with Django. My goal is to create new user with username, password and e-mail id and I'm having roles drop down as well.

Upon clicking on Submit button, the html page (which is basically a template) should send those values to views/models and there I need to validate

I need suggestion on how to post the html values to python function and post validation, I need to post those validated values back to another html

I didn't had requirement to work for HTML/any other web development, I'm finding hard to achieve it

I designed web page till to get username, password, mail and to select role option

Any genius, kindly come forward and suggest me options. I need some logic.. coding part I can take care. Many thanks in advance Blush


RE: Posting html values to views/models in Django - fishhook - Sep-04-2019

Just go through the tutorial on Django's web site.