Bottom Page

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
Quote
#2
Just go through the tutorial on Django's web site.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Creating few models with one submit depending on the selected items from multiselect? dmytruk 0 262 Mar-18-2019, 03:27 AM
Last Post: dmytruk
  Django- Remove leading zeros in values from database ntuttle 1 355 Mar-07-2019, 07:30 PM
Last Post: nilamo
  data base models IMuriel 1 312 Jan-14-2019, 08:55 PM
Last Post: Gribouillis
  convert html to pdf in django site shahpy 4 2,729 Aug-17-2018, 11:10 AM
Last Post: Larz60+
  Error while creating new Creating Models on Django aniyanetworks 2 1,186 Jul-13-2018, 12:57 PM
Last Post: aniyanetworks
  Execute using Html, Save data into Database and Download in CSV in Django --Part 1 Prince_Bhatia 0 1,311 Jan-19-2018, 06:05 AM
Last Post: Prince_Bhatia
  Django field model for HTML parser? Drone4four 0 1,310 Nov-15-2017, 02:43 AM
Last Post: Drone4four
  Django debug of templates and home.html Drone4four 1 1,012 Nov-12-2017, 11:13 AM
Last Post: Drone4four
  read text file using python and display its output to html using django amit 0 10,252 Jul-23-2017, 06:14 AM
Last Post: amit

Forum Jump:


Users browsing this thread: 1 Guest(s)