Python Forum
Posting html values to views/models in Django
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Posting html values to views/models in Django
#1
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
Reply


Messages In This Thread
Posting html values to views/models in Django - by Malt - Sep-04-2019, 10:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Django views : positional argument ghoul 0 1,423 Nov-15-2021, 06:02 PM
Last Post: ghoul
Lightbulb Hypertag. New language for HTML templating w/ Django support mwojnars 0 1,740 Apr-06-2021, 12:53 PM
Last Post: mwojnars
Photo After using models.Model on my class Im getting 'ImproperlyConfigured' error Django khavro 1 2,150 Apr-05-2021, 03:11 PM
Last Post: SheeppOSU
  HTML multi select HTML listbox with Flask/Python rfeyer 0 4,529 Mar-14-2021, 12:23 PM
Last Post: rfeyer
  changing stylesheet according to variable in views AhmdMhmdWddh 0 1,529 Feb-21-2021, 12:57 PM
Last Post: AhmdMhmdWddh
  Instagram Bot _ Posting Comments kristianpython 3 3,275 May-23-2020, 12:54 PM
Last Post: kristianpython
  Error posting with requests julio2000 6 2,774 Mar-28-2020, 09:43 PM
Last Post: julio2000
  Python3 + BeautifulSoup4 + lxml (HTML -> CSV) - How to loop to next HTML/new CSV Row BrandonKastning 0 2,329 Mar-22-2020, 06:10 AM
Last Post: BrandonKastning
  Posting value from excel to Form (Python+Selenium) revanth 0 1,764 Feb-05-2020, 10:44 AM
Last Post: revanth
  Why use HTML in Django Template ift38375 2 2,773 Dec-09-2019, 02:28 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020