Django Tutorial - Simple Forms

  Рет қаралды 79,671

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер
@roeehershberg6718
@roeehershberg6718 5 жыл бұрын
I am so glad that you are making this series! You know how to talk and I understand from you many things that I didn't understand on Django's documentation. You are amazing! keep doing what you're doing.
@kadrogo601
@kadrogo601 5 жыл бұрын
I am really impressed by the way how you compared GET and POST. This thing kept confusing me all the time. Now I know thx to you. I am almost 10 years older than you but you are my hero.
@saarang7572
@saarang7572 4 жыл бұрын
Same this was a great explanation and now I actually understand the difference.
@waqaspathan3337
@waqaspathan3337 3 жыл бұрын
Tip for everyone, if you want to test and visually see if you’re able to actually add a todo list to the database you can go to the /admin page that Tim showed a couple vids back!
@biftukuma5088
@biftukuma5088 Жыл бұрын
Thanks Tim, very helpful tutorial for beginners like me. On this part I found that we do not need to specify 'Label' name for Class CreateNewList. It could be related to new version of Django. I got an error when I specified but then when I take that out it worked. Like: class CreateNewList(forms.Form): name = forms.CharField(max_length=200) check = forms.BooleanField()
@tafadzwaaaliyahndoro338
@tafadzwaaaliyahndoro338 Жыл бұрын
about to watch it rn, hope i will understand it
@fernandocorenstein6531
@fernandocorenstein6531 4 жыл бұрын
Joining your Channel soon. A truly gifted and fabulous teacher. What a pleasure to learn from you man. All the best from the Holy Land!
@TechWithTim
@TechWithTim 4 жыл бұрын
Appreciate that Fernando!
@HostDotPromo
@HostDotPromo 5 жыл бұрын
Django is a lot like Laravel, makes life so much simpler and organized 🔥
@elkhanhamet2561
@elkhanhamet2561 8 ай бұрын
What an amazing tutorial!!! Thanks a lot Tim!!! Everything became crystal clear, you're a pro!!!
@timesothanayongkul4923
@timesothanayongkul4923 Жыл бұрын
Thank you Tim. This video explained the concept really well and broke it down in a way that was really to understand.
@ankitaburman5406
@ankitaburman5406 3 жыл бұрын
thank you so much Tim, I'm a regular follower of yours ..Thank you for sharing the knowledge, helps us to stay motivated and learn coding.
@sidneifc7697
@sidneifc7697 5 жыл бұрын
Very simple indeed! I'm glad I found your channel.
@AnnaIsHere
@AnnaIsHere 2 жыл бұрын
6:45 Didn't find the link you were talking about
@ΝικΝοκ
@ΝικΝοκ 3 жыл бұрын
nice one . im new to python and django , this helps alot
@tomaszkoscielniak612
@tomaszkoscielniak612 5 жыл бұрын
Great tutorial Tim
@arafat_ar13
@arafat_ar13 4 жыл бұрын
Hey Tim, can you help me with something? In this tutorial, you made a completely new URL to handle the adding of a new task. That's what I did too initially. But I wish to display this form on the home page so that people can quickly start typing and add the task right from the home page/ index page. But when I move over the content from "new_task.html" to my home page, the form does not show up. I made sure to render the "home.html" in the task-creating function and also pass the form. So is there any way of achieving this? Thanks a lot for your super cool videos!
@LuckazDuos
@LuckazDuos 5 жыл бұрын
Thanks for this! It help me a lot.
@MarsLanding91
@MarsLanding91 4 жыл бұрын
Thanks Tim! This is a great series.
@AnnaIsHere
@AnnaIsHere 2 жыл бұрын
How did the redirection work? How did it know that it should display "list.html" after we used /%i ?
@learnsomemore1
@learnsomemore1 3 жыл бұрын
I am having a problem... My create page is creating new ToDoLists but it doesn't show it on the redirected page although the id is correct... I checked it in the console it is showing but not on my page. The page shows an error. Please help...
@testuser5793
@testuser5793 5 жыл бұрын
I'm sorry man, but there's quite a few things in the http verbs sections that aren't correct. post requests are NOT ENCRYPTED BY DEFAULT!!! Excuse the capitalization, but this is a REALLY important point to make. Your post requests are no more secure than your get requests. SSL is what takes care of the encryption, not the http method. If your server does not support HTTPS, then your requests are not secure. Period. No matter if you're using GET, POST, PUT, PATCH, or anything else. Secondly, a POST request can contain query parameters, and get requests can contain a body. The tutorial is very helpful, but the information on the HTTP stuff doesn't check out, and I hope people don't actually think that a POST request is secure, because it's not.
@TechWithTim
@TechWithTim 5 жыл бұрын
Don’t apologize for correcting me I love when people point out flaws. My intent was not to mislead people, I believe I messed up a lot of terminology that makes this section ambiguous. What I mean to say about the POST request is not that it’s encrypted but that it can’t be viewed in the browser search bar, like many Get requests. I appreciate the comment and will definitely look more in SSL and HTPP methods to ensure my understanding is correct!
@rangarajann1781
@rangarajann1781 4 жыл бұрын
I just wanna say that people with a minimum knowledge in web development will know that the POST method will not provide SSL for the website and the data passed.if they don't then they should go through the resources they have learned.so it is not necessary to mention about the Encryption here.and encrypting data from a website is another big concept.
@Feronom
@Feronom 4 жыл бұрын
why are u using def home(response): instead of def home(request)?
@greetingsgentlemen.8179
@greetingsgentlemen.8179 4 жыл бұрын
same question
@svetoslavslavchev7695
@svetoslavslavchev7695 2 жыл бұрын
Actually he picked the wrong name for the parameter. Since the type of the parameter is "WSGIRequest" it makes more sense to name it "request"
@tomershechner
@tomershechner 5 жыл бұрын
L O V E F R O M I S R A E L
@holimasandy2937
@holimasandy2937 2 жыл бұрын
Am really glad to have come in contact with you as a beginner in Django. Thank you so much for this wonderful work. Can i please get access to the website you were talking about. so that i can take up from that. i really need a fullstack learning website on ecommerce, company site and how to use other database. thank you
@markogles3483
@markogles3483 4 жыл бұрын
You have a good nack for teaching. Thanks for your tutelage.
@pranavingale6850
@pranavingale6850 Жыл бұрын
What's the difference between forms and usercreationform, when to use what!?
@yusufyildirim2438
@yusufyildirim2438 2 жыл бұрын
thankks man
@kevininmarketing
@kevininmarketing 3 жыл бұрын
Hey Techwithtim, when i create a create function in views, and run the server i get and error saying main.voews has no attribute create. I saw you experienced the same tjing but didnt review it from the video.. Pls help
@khoderaljaber7598
@khoderaljaber7598 2 жыл бұрын
Hello Tim, when i type a List Name and click on Create New it shows an Error : DoesNotExist at /31 (many other sequence numbers) Item matching query does not exist. i did everything well as u did!! Please Help!
@guru7587
@guru7587 3 жыл бұрын
Thank You ure damn good at it ! ;D
@Johan87577
@Johan87577 2 жыл бұрын
So, this is similar to what wtforms offers in flask?
@TomFBrady1
@TomFBrady1 4 жыл бұрын
Where does the base.html come from inside the templates directory, that create.html extends?
@kevininmarketing
@kevininmarketing 3 жыл бұрын
It is inside the main folder as well, you create the base.html
@tacohouse01
@tacohouse01 3 ай бұрын
i cannot see my changes in the admin portal
@nehat786
@nehat786 5 жыл бұрын
Why you wrote t = ToDoList(name=n) After form.save() And whats the use response instead of request.
@TechWithTim
@TechWithTim 5 жыл бұрын
Response and request mean the same thing, the ToDoList isn’t being saved it’s been used to populate the form.
@hiraawan3430
@hiraawan3430 3 жыл бұрын
i'm having error here
@sainco3036
@sainco3036 5 жыл бұрын
thanks.
@izayaaa
@izayaaa 5 жыл бұрын
Hello tim, could you help me with a problem im experiencing in a game im developing atm with pygame. I know this isnt the right video to comment in it cause its in no way related but the problem is ive made different sprites for standing still, running, and jumping, but when i jump the animation for jumping works but also the standing or even the running animation as long as m pressing the arrow keys
@izayaaa
@izayaaa 5 жыл бұрын
How do i disable the standinf/runnng animation when im jumping? And only show the jumping animation
@rezajeffrey7970
@rezajeffrey7970 2 жыл бұрын
Awsome
@saptarshipanda2065
@saptarshipanda2065 4 жыл бұрын
My create page is not redirecting Says local variable t referenced before assignment form has no attribute cleaned_data Edit:I solved it stating is_valid ()==False
@tnnrhpwd
@tnnrhpwd 2 жыл бұрын
Thank you for helping with my error. However, doing this causes 't' to be called before it is initialized. Setting it to TRUE fixed my error.
@pabloyanez9469
@pabloyanez9469 4 жыл бұрын
excelent
@mason6300
@mason6300 5 жыл бұрын
I'm receiving a "CSRF token missing or incorrect" error when I attempt to use the create page. I don't think this has anything to do with my cookies or ad block software. I am at a loss as to why this could be occurring. If anyone has any experience with this I would greatly appreciate some insight. (I am using a Mac if this helps, at least until the end of the week).
@vibewith100
@vibewith100 5 жыл бұрын
include csrf_token in forms
@SteveDAgostino
@SteveDAgostino 2 жыл бұрын
Did you add {% csrf_token %} after your in the html template?
@ruchithagn9917
@ruchithagn9917 3 жыл бұрын
Simply waste of tym... form is not creating.. coding you have given to us in your website .. you have not given all html codes.
@atreyeebanerjee3018
@atreyeebanerjee3018 4 жыл бұрын
How do i retrieve data from database?
@shyren_more
@shyren_more 4 жыл бұрын
by using the .get() method I guess, inside the get method you can pass the id of the entry you want
@gabe5225
@gabe5225 Жыл бұрын
im gay ! ! !
Django Tutorial - Custom Forms
14:33
Tech With Tim
Рет қаралды 59 М.
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 33 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Python Django Crash Course
1:11:51
Traversy Media
Рет қаралды 368 М.
How To Make Money From Python - A Complete Guide
10:33
Tech With Tim
Рет қаралды 21 М.
Django Tutorial - Templates & Custom HTML
27:52
Tech With Tim
Рет қаралды 114 М.
Model Form | Django
6:43
Dennis Ivy
Рет қаралды 131 М.
Django Tutorial - SQLite3 DataBase Tutorial
22:49
Tech With Tim
Рет қаралды 184 М.
Django Forms Tutorial For Beginners - Get Started Fast! (2018)
29:36
The Dumbfounds
Рет қаралды 166 М.
Python Object Oriented Programming (OOP) - For Beginners
53:06
Tech With Tim
Рет қаралды 3,4 МЛН
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 33 МЛН