0

Let me understand this

So when a html request is sent with the “POST” method of a form, it goes into the defined function who’s variable name is the url that appears on the browser bar. This function is created in the views.py file? How does the request then get validated and/or authenticated in the models.py file?

17th May 2020, 3:44 PM
Nwanakwoakwo Wid'obiagu (kenneth Anyanwu)
Nwanakwoakwo Wid'obiagu (kenneth Anyanwu) - avatar
3 Answers
+ 3
Nwanakwoakwo Wid'obiagu Client side code will send request and Server side code will process the request and respond to the client
17th May 2020, 4:00 PM
Subash
Subash - avatar
0
Nwanakwoakwo Wid'obiagu Your python code should validate and/or authenticate the request
17th May 2020, 3:53 PM
Subash
Subash - avatar
0
Subash Rogers do you mean pyrhon code on the views.py or on the models.py?
17th May 2020, 3:55 PM
Nwanakwoakwo Wid'obiagu (kenneth Anyanwu)
Nwanakwoakwo Wid'obiagu (kenneth Anyanwu) - avatar