Don't forget to check out my Complete Django course! dub.sh/NvGboTI
@RahulSoni-km6oc3 жыл бұрын
Learnt Django from your 10 videos and got an internship, today was day 1. thanks dennis
@NishantCosmos2 жыл бұрын
whahat
@NishantCosmos2 жыл бұрын
are you serious, i think you already knew something so you learned and got internship faster
@RahulSoni-km6oc2 жыл бұрын
@@NishantCosmos i knew programming already, his videos helped with getting started in django, with that my basics were cleared, internship task was assigned that I completed in django so yea,these videos were catalyst in whole process. P.s. if you need any help in it ping me
@NishantCosmos2 жыл бұрын
@@RahulSoni-km6oc absolutely, gimme ur linkedin or insta etc, :]
@dedded68402 жыл бұрын
how's you journey in programming since then?
@MuhammadMahirQ85 жыл бұрын
Loving every second of this playlist. Keep it up
@DennisIvy5 жыл бұрын
Thank you!
@taharehman64393 жыл бұрын
sorry
@GabrielRibeiro-xr3bx4 жыл бұрын
Hey man, The best about your tutorials is that you show the errors. Sometimes that`s more important for the learning process than the rest. Specially to me, as a complete begginer, sometimes a mispelled word makes me break my head, as I have not yet gained the ability to understand the complete inner works of the code. Showing the little errors you make, makes me more skilled to deal with my own, I guess. Thanks for the amazing work.
@justmeldin60623 жыл бұрын
You my man, you are THE BEST teacher I have ever seen in my life. Best teacher I have ever seen and not just in industry of coding and computer science, I mean in general. I hope that you continue in this endeavor of teaching and breaking down hard topics. You nailed everything here...tact, speed, level of voice, how much you stay on certain issue, how you explain and connect the dots... every single part of your lets say style of explanation is such that immediately sticks in my head. Don't get complacent and work hard as you already do. Think that you are not good enough :) Peace bro
@yoip1234 Жыл бұрын
Thank you Dennis for running this series. It's one of the best tutorials that I have seen. You have done a great job!
@santanu88992 жыл бұрын
Love you bro ❤️❤️❤️. It is the best django tutorial series on KZbin I have ever seen. Love from India ❤️👍.
@sakshamkapoor59054 жыл бұрын
WOWOWOWOW! Much Respect to you Dennis!! Following you since 2k subs, long long way to go!
@danielqba4 жыл бұрын
I can't believe that way of handling forms. Django is so powerful! Thanks for this playlist!
@parthaprateempatra42784 жыл бұрын
This is a very nice video which doesn't use generic classes for CRUD instead makes everything from scratch to allow more flexibility
@damilareadeniyi11954 жыл бұрын
I really like your series I watched a bunch of other tutorial and did not understand much. They gloss over a lot of things and don't explain it well for beginners. I think the fact that you are self taught makes it easier to understand most people situation.
@monotoshkumardaschandan83684 жыл бұрын
This is the best Django series so far
@looyeeng99464 жыл бұрын
0:01 Introduction 0:49 Template setup 4:14 Create a form using model form 7:00 Create an item 11:52 Update an item 16:31 Delete an item 22:29 Styling & What's next Note: www.notion.so/10-Create-Update-Delete-CRUD-with-Model-Forms-a90dd9d01854461ca270190d6fcf3a9c
@nihalsaket4 жыл бұрын
Great content overall. However, I found following a lot of things in this particular video (pt 10) a bit tricky. What I really like about your Django tutorial is that you explain every syntax/keyword you write. Found you rushing from 9:00 to 12:00 in (pt 10). Would be great if you can post an explainer video for pt 10 in case you have the bandwidth to do so.
@ionutmuntean21772 жыл бұрын
yeah, at 08:25 I didn't understand either why the if-check if we know that we always get a POST request?
@82-sagarshah173 жыл бұрын
Sir I attend other tutorials in KZbin and I confused so much and my competence go down and there codes are more complicated... After watching you video I got everything in easy way ... Sir your code are very easy and cleanes structure.. Thank you sir for solving my problem and my competence come back 💪with the help of you Sir ❤
@kona78054 жыл бұрын
You're the best!! I'm so glad you made these videos. Just in time since I have to build a quick project and Django is just amazing. I thought it would be harder to use but you explain it so well. Thanks!
@DennisIvy4 жыл бұрын
Love it! So glad its easy to understand, best of luck with your project :)
@holthuizenoemoet5913 жыл бұрын
django is just the perfect web framework! I have played with a lot of frameworks in php, node.js and python. and I just love working with django. I has such a nice structure and flow to it, with a lots of room for modifying and tweaking.
@parthjani83015 жыл бұрын
Dennis, you do very good work for Entry + Pro. level developer.your all video very helpful, your explanation is excellent and easy to understand, Love from INDIA.
@DennisIvy5 жыл бұрын
Thank you! I try to keeps things as simple as possible :)
@parthjani83015 жыл бұрын
@@DennisIvy Try to make a video on Django+Javascript, mostly real-life projects in Django, lots of use Custome JS + Ajax.
@DennisIvy5 жыл бұрын
Yes I agree. Keeping things simple with as much vanilla Django as possible but we will be using lots of JS in the next projects. I plan on making a rest API course and then using that api to render data for a twitter clone app :)
@parthjani83015 жыл бұрын
@@DennisIvy Superb, I eagerly waiting for Rest API Course.
@TjaartSwanepoel4 жыл бұрын
Dude, your content is brilliant. Thanks. Keep 'em coming. IDEA for a video, please consider doing a video on form elements like custom radio buttons and check boxes as well as date and time pickers. You could also please do a video on drop down boxes that refresh one another, like when you select a category, the second dropdown is refreshed with its sub categpries etc and then the products of that sub category(actually currently struggling with that one).
@DennisIvy4 жыл бұрын
Thank you Tjaart! Pretty much everything you mentioned is on my todo list :) These are all things I struggled with when I first started. I wanted to make them into their own separate videos so I can cover each concept thoroughly.
@TjaartSwanepoel4 жыл бұрын
@@DennisIvy Cant wait, keep it up, your content is making is difference in my dev learning path. THANK YOU
@abbasbakelli46054 жыл бұрын
I loving every second of this playlist Thank You, Dennis! You're the best!!
@cheick-raimanesoro99264 жыл бұрын
You are the best. Since this morning I'm just watching your videos. There are like movies. Thank you for making learning so cool.
@josephmbote41673 жыл бұрын
I Just love this tutorials , My skills improving very fast ... Feeling more comfortable and finding it too fun working with Django
@mohamedoubakri82144 жыл бұрын
You're the best!! I'm so glad you made these videos. you explain it so well. Thanks!
@johnokelly48608 ай бұрын
This video tutorial really helped me to resolve some issues with my own CRUD issue in Django. Thank you very much.
@Ashlin634 жыл бұрын
Hi Dennis, Just want to thank you for the amazing contents you've uploaded.
@NOMOUSE2 жыл бұрын
Man, I wanted to do something and your video helped me a lot. Thank you, deserves a like with great gratitude. Congratulations!! You have a new subscriber.
@YancenLi3 жыл бұрын
12:00 Update View
@carlthecruz4 жыл бұрын
Thank you for making me understand Modelforms much more clearly now. Thank you!!!!!!!!!
@DennisIvy4 жыл бұрын
Glad this helped!
@jaypansare29964 жыл бұрын
Brother your approach of teaching is just awesome loved to watch whole series... keep doing...
@ayushvanvary2 жыл бұрын
following your series in 2022 september still this crash course is a gem.. you are great
@theanonymous92 Жыл бұрын
THANK YOU SO MUCH for such a clear explanation, I had been struggling with the concepts of built-in forms why would i use it and most importantly HOW? Thanks to your video now I know
@kenhammond70614 жыл бұрын
Dennis in your version, you don't use the value="submit" but when I don't have the value submit the button shows up as Submit query interesting
@kubernetes27973 жыл бұрын
very easy to understand, Django CRUD is very important lesson in all Django architecture
@kamaraemmanuelf64092 жыл бұрын
Mr Dennis Ivy any you are my mentor. thanks so much, you make me to love django
@matthieuo394 жыл бұрын
For the load static you had to put it in the "navbar" template because it did not inherit from the" base.htlm" although in the order_form you don't need to put it because the load static is already in the base.html
@Serwik423 жыл бұрын
You saved my entire life bro I love you
@ionutmuntean21772 жыл бұрын
At 08:25 I didn't understand: why the if-check if we know that we always get a POST request? EDIT: I think I got it (actually this is a bit of a revelation for me, hopefully it helps other people that are just starting with web development, too) The way I answered myself is as follows: basically, with any URL that you access in this whole wide world YOU FIRST MAKE A GET request. And so - in our case - the first time you actually access "/create_order" you actually do not want to make any modifications to the DB, but what you'd rather want is for the form to be displayed to you, so that you AFTERWARDS CAN actually fill the form and then click submit which then in turn sends a POST method, which makes our app access the same createOrder again but this time with a POST request, thus the flow of the code will enter the if-check there.
@TheNoviceCreator4 жыл бұрын
in the redirect you can specify the name of the url, so that (as you explained previously) it will not suffer of url changes
@aliasgar.burhani10994 жыл бұрын
Papa Django keep it up!!
@franciscomoreno35054 жыл бұрын
Good Job Dennis!!! Cool, Amazing and Well Explained Tutorial.
@mockydigital2 жыл бұрын
New to Django and I love it here
@tamarapetrova8440 Жыл бұрын
You saved me with this video at work, man! Thank you so much!
@MrGiorgioArm4 жыл бұрын
THANKS A LOT !!!! BEST TUTOS OF DJANGO OUT THERE !!!!
@fahanfarooq38444 жыл бұрын
if request.method =="POST" doesn't do anything but "GET" does work for delete button but using "GET" then doesn't show the delete page instead it just deletes the entry !
@danilotavares77 Жыл бұрын
Hi Dennis! Thank you for you videos. They are really helpful. One question, if I may: in a case that you need to create a register using a form that has require foreign key field in the model, would you use the model form? How to handle the situation when you need to create not just the record for the main form bu also a new register in the foreign table?
@ChrisNemes4 жыл бұрын
Thank You, Dennis! You helped me a lot with these tutorials!
@medoune894 жыл бұрын
BEST PLAYLIST DJANGO
@senthilkumarpalanisamy3653 жыл бұрын
Excellent clear cut explanation, please do more bro. 👍👍👍👍🙏🙏🙏🙏
@agboighalewisdom12304 жыл бұрын
Mr Dennis is the. A way you can make a video on how a customer can make orders by themselves
@rijalefendi64654 жыл бұрын
keep up the good work, man. i'm in love with ur tutorials. but why u use model form instead of class based view? bcos u said earlier u'd explain it later but i didnt catch u mention in this video.
@elnazdehkharghani61214 жыл бұрын
Dear Dennis, I have finished this video till at the end of it but I have got a problem with order_form.html. I can not see my form fields there. I can only see forms attributes name there in disable formats without any drop-down menu :( my output is only theses in grey and disabled: ==> (Customer: Product: Status:)
@dheerajlalwani44864 жыл бұрын
I too am facing this problem. What might be the issue?? Anybody has a solution?
@povilaskirna41084 жыл бұрын
In my case it was that i wrote {'context':context} in the views.py but when i changed just to context it worked
@forhadrahman94594 жыл бұрын
Thank you for this wonderful tutorial. But I have question if I want to show only one customer name(current logged in customer) from foreign key then how can I do that? can you please help?
@extra_stuff3 жыл бұрын
Thank you Sir, for this whole series
@itsjustme59384 жыл бұрын
thank you soo much can someone please help me how can i redirect the user back to the previous page after updating customer?
@mhsyf3 жыл бұрын
Need help for this. I was following the tutorial up to the point where the create order has been created at 4:15. Have been stuck on this particular error for awhile and cant seem to move past this . ModuleNotFoundError: No module named 'accounts.forms'
@vishalvishwakarma82763 жыл бұрын
looks like you didn't import somethings
@mhsyf3 жыл бұрын
Found the issue. Apparently my forms.py was in the wrong directory
@nhfx2261 Жыл бұрын
in time 6:12 Why you used ""Class Meta:"" can you please explain it?
@jasondhakhwa11793 жыл бұрын
can someone explain why dennis put instance at 14:32
@waleedmustafa79733 жыл бұрын
Thanks 4 content. But i have a question what is use of action attribute of form that you only used in delete order? U didnt use action in rest other cases like create or update
@dannyargueta58214 жыл бұрын
Great video ! I want to know how to make an update without passing the id though the url. I think this could be unsecured cuz everyone can type some ramdom id and get access to ramdom row from the database, same as Delete process. so if you can help me with this I'll really appreciate it. thank you so much
@masterhipster83582 жыл бұрын
Hi Dennis, love your videos.. can you plz tell how we update date also while user update data.. In this videos the date was not updated.. Its will help to me if you guide me
@mychromebook99353 жыл бұрын
how are you passing request.POST into the function OrderForm(request.POST, instance=order) ? 16:14 Seems confusing when Order(model.Model) and OrderForm(ModelForm)
@aleksandarradovic29603 жыл бұрын
Thank you so much for these videos! I just have one question: Should paths in urls.py be with dashes or underscores? Those paths are displayed in the web address later on, and djangoproject website has dashes in their website instead of underscores. I cannot find a definitive clear answer on the web, but my guess is that dashes are preferred. Example: path('create-order'...) instead of path('create_order'...).
@adityamahajan12383 жыл бұрын
This was really a nice work, I really liked the way you take things from very basic to advanced level, also thanks for not having a sophisticated front end, I was using basic HTML so was able to follow, lol! One thing that helped me was how you used POST method to make a PATCH request. Another thing you can add is to PATCH only few fields in our model, I did by creating a second form and inheriting required fields from the model, is there any other way to do that without creating another form?
@cezar-alexandrujavad57314 жыл бұрын
the Form is not showing...like it shows to you at min 8:05
@MillionaireMindset.2472 жыл бұрын
Thanks a loot for this video how can I show the price field in the creatorder form ?? from product table for exemple whene we select a product it must get the price of this product
@juanespinosareinoso70943 жыл бұрын
I really like your tutorial. Kudos Dennis for the great work. Keep your amazing work. I have a question: In the tutorial you are creating an "createOrder view" from the admin/general dashboard. How about if you are inside a user-info view (only the user info appears when they login), how should be the view if the user wants to create an order? I am a little bit confused on how to call the orders for that specific user to create a new order. Thank you so much in advance.
@tonymudau30052 жыл бұрын
You such a legend bro ♥
@tariknavarro874 жыл бұрын
Thanks! Great course so far!
@jadynchowdhury6804 жыл бұрын
Lving your videos. They are very helpful. I am stuck on this video with the update function. I keep getting an error 'Reverse for 'url' with arguments '('',)' not found. 1 pattern(s) tried:'. I have looked online but found no solution. Any suggestions?
@alexdin15652 жыл бұрын
Hi, Dennis any way to publish a post at a specific time (in future date )?
@tanvirashraf7284 жыл бұрын
would you explain bit more about why class Meta being used in forms.py and why it is needed to be used.....you are doing amazing works...
@ankitanand24114 жыл бұрын
for update_order and create customer i have faces issues Reverse for 'create_order' with no arguments not found. 1 pattern(s) tried: ['create_order/(?P[^/]+)/$'] help me
@christianvillegas30634 жыл бұрын
Yes me too.. I'm stuck in that until now
@tilting_cat33444 жыл бұрын
@@codeitwitharmaghan7086 dude help for some reason i can't output data from video tutorial part 9 where he does customer = Customer.objects.get(id=pk) i can't even get the customer.name to show up but i can still open the page of customer/1/ it doesn't show any syntax error in powershell
@bartoszzielinski42923 жыл бұрын
Thanks. I would like to give to the user only some fields for input. The remaining fields would be calculated, based on values passed by user to other fields. How I can achive that? Is there any way to add a value to the field but outside the form? Please reply.
@attilapataki66394 жыл бұрын
Cool tutorial and really well explained! Love it! How would do if you had to like place an order with multiple items in it?
@maksimhajiyev78574 жыл бұрын
Hi , I am just wondering if is possible to see some complicated multi tab forms with one to many CRUD ? thanks a lot
@rangabharath42534 жыл бұрын
Awesome bro. Thank u so much for the awesome series
@davidbrown28064 жыл бұрын
We made a __str__ function to rename the Order Objects. Should these not be serialized/indexed so that the database assigns a unique independent number for each order and then print that out ???
@killeriller2 жыл бұрын
Your videos are so helpful and your way of teaching is so direct and clear! However, I can't look at the sourcecode. I get an application error from Heroku.
@yusuffabdulmusawwir68072 жыл бұрын
So I just noticed, I didn't add any template tag to the action in the delete.html and when I ran my server , it worked perfectly...any explanation to that??
@ДмитрийТахтамир4 жыл бұрын
Спасибо за видео, отлично объясняете материал, прояснил для себя несколько важных моментов :)
@lovesfoodmorethanpeople58712 жыл бұрын
Can you please help me out with how can I change the drop down list of the foreign key columns to a text box Django forms? Please and thank you
@aghiadalzein30694 жыл бұрын
Thanks the course is great and the most valuable. But i have a question in the delete form at 21:23 ,why do we need the action? Every thing is controlled inside views.py>deleteOrder function, am i wrong?
@DennisIvy4 жыл бұрын
Action is telling the form which page we are sending the data to. It will then send the data to the view associated with that URL. If we left it blank it still would have worked because by default it will send the the URL of the page you are on but its best practice to specify exactly where you want the data to go.
@gameaddict30684 жыл бұрын
Thank You, your tutorial is the best!!
@DennisIvy4 жыл бұрын
My pleasure Bob! Glad your enjoying the series :)
@jrborquez Жыл бұрын
in Update, instance=order doesn´t work, request.POST values are inmutable, how did you make it work? without the save if statements it works fine.
@vishalvishwakarma82763 жыл бұрын
In delete_order.html we are giving action some value but why are we giving it , it still working and if we were supposed to give the value then why not in update_order.html too?
@wasifnadeem62092 жыл бұрын
Sir, If I am not using forms, and doing the forms conventional way by creating them as input and text-area fields in HTML, bc i don't want user to select from some specific options. I want user to be able to input any arbitrary values in them, and I need some styling in my form as well; then how can I go along with update method, I mean how can I show template with pre-filled values! and update them later on!
@teknisiai88093 жыл бұрын
How do I join tables in django? / displays the data from the join table on the data input form.
@DanielEscalona-ez4ri2 жыл бұрын
18:00 in django 4.1 you can just add to href="{{ request.META.HTTP_REFERER }}" to a button to take you back to the last page
@MegaRaju784 жыл бұрын
hi dennis, your followed ur videos on django, was able to learn so much. right now I am struck at Class 'Product' has no 'objects' member error, I am using VS. tried all kind of options but no use, need your help
@arvinthevar82633 жыл бұрын
I can't submit the order for some reason. My codes are exactly the same but nothing happens when i click the submit button. Help please
@CamaGoesGym3 жыл бұрын
How would i add the list onto the same page as the create...im struggling alot.
@ivaylooo3 жыл бұрын
Would be good to have a tutorial on CRUD with CBV. :)
@ngogioan24113 жыл бұрын
Thank you, Ivy. It's greate tutorial. Could you please help me how does Django implement INNER JOIN without using foreign keys, it's my real case. Thanks
@kona78054 жыл бұрын
Thanks again, Dennis. Just one question, how can I style every single field of the form separately? Insted of adding the whole form with {{}}, is there a way to add each field separately on the HTML template to stylize them with Bootstrap or CSS?
@serhiihoriaiev27674 жыл бұрын
checkout django.forms.Form for this case
@kusalthiwanka86304 жыл бұрын
Is it possible to define separate form.is_valid() conditions for creation and update. I need to put different conditions for creating and updating.
@akash49524 жыл бұрын
can plz anyone help me this is the first time i got stucked in a video since the video one of this playlist i am getting a reverse error like this: Reverse for 'update_order' with arguments '('',)' not found. 1 pattern(s) tried: ['update_order/(?P[0-9]+)/$'] plz help me i am not able to move ahead
@idontknowserj28624 жыл бұрын
Try to change the order of views. Actually 'orderView' before 'createOrder' made it work for me.
@jadynchowdhury6804 жыл бұрын
I found a solution. When referencing a model in html the function {% for x in y %}. This means when referencing in the href, you have to use x not y. For example href="{% url 'path' pk=x.id %}. Hope this helps. Any questions just reply. :)
@Node20204 жыл бұрын
@@jadynchowdhury680 not working friend
@jadynchowdhury6804 жыл бұрын
@@Node2020 I cant think of anything else. It worked for me on similar issues elsewhere. Just run through your code again. Could be something small you missed. Easy thing to do with a project this big so don’t worry. Just take your time. Good luck
@Node20204 жыл бұрын
@@jadynchowdhury680 I understood, but what is this order.id attribute where can I look for an analogue? thanks
@Therichter844 жыл бұрын
You do great jobs, keep it up...
@annaburshtyko57144 жыл бұрын
Thank you very much! Your tutorial is very helpful!!
@Yuva04-g2zАй бұрын
when i'm deleting the order and submitting it my page is not redirecting to the home page what should i do??
@mohamedelmabrouki5124 жыл бұрын
the update function is not working. it gives me an error (Using the URLconf defined in ormvaoz.urls, Django tried these URL patterns, in this order: admin/ [name='home'] create [name='create'] update// [name='update'] The current path, update, didn't match any of these.) help please i tried every thing .