Inline Formsets | Django (3.0) Crash Course Tutorials (pt 11)

preview_player
Показать описание

Saving objects with parent instance and advancing with django formsets.

Рекомендации по теме
Комментарии
Автор

Thank you so much! 3 years later, this video helped me so much! I spent days on chatgpt and couldn't learn what I've learned here. I hope you don't stop posting

caiopjv
Автор

This course the best I have even even seen though after 4 years

umar-toirov
Автор

And in chandler's voice...COULD IT BE ANYMORE PERFECT!

rishupal
Автор

If You like me forget to update 'updateOrder' view. You can do this in "order_form.html' .. in input place this code:
{% csrf_token %}
{% if form %}
{{form}}
{% endif %}
{% if formset %}
{{ formset.management_form }}
{% for form in formset %}
{{ form }}
<hr>
{% endfor %}
{% endif%}

maciejcelinski
Автор

i'm a high school student and this is the coolest tutorial
if this fits to me this means any one can learn a lot from this tutorial, thank you dennis !!!!

abenitesema
Автор

Absolutely amazing content man. keep it up.

JKahlonMusic
Автор

I was trying to message you but i had no idea where to reach you from, so i will just type my message right here, in this legendary django series i was following recently. I followed you step by step and currently i'm in part 11..it's the coolest tutorial i have ever watched, CAN'T DESCRIBE HOW HAPPY I AM while learning from your super skills!!
It's literally the first time where i feel comfortable building a project while understanding every single step😍😍
It's been like 2 months since i subscribed to your channel, and i thank god i did.
I just have one question to ask..
In almost every django tutorial, in the first steps of the project where we work with cmd and creating our directory, the instructor creates a virtual environment before django-admin startproject ....
While in this series, we are building our project without any virtualenv created
Why? 🤔🤔
I'm literally enjoying every minute building this CRM website and only have this question
and again, THANK YOU. 🙏🙏🙏

wassimharakeh
Автор

These are really great and covered a bunch of things my knowledge was a bit vague on! :D

adamhughes
Автор

Thanks! A good improvement would be trying to create one order with multiple items, since with this model, you have to generate multiple order if you have more than one item.

miguelng
Автор

Hi Dennis, Great Tutorials! Having one question on this inline formsets. How can I have an 'add' button to control the amount of forms I want dynamically? Tried with jquery, but the data was submitted to database instead of creating an extra form on the page..

johnnyli
Автор

Never Learned Django better than this !!!

talhaamir
Автор

Hey Dennis!
Thanks for this amazing content.

If possible, could you please make a video on how to create a popup for deleting or updating anything in Django?

psrajoria
Автор

This had really helped soo much!!! We all are thankful to u..
much love from india

rishupal
Автор

Nice tutorials, wonderful content. i have been watching the playlist since morning this is pretty neat. i was able to understand each and everything

rushendrarushi
Автор

Next traversy media? Road to 1 million subscriber bro. Thank you so much for the tutorial. Really really appreciate it

stevenlee
Автор

I'm confused with when to use instance and when to use initial. Are they interchangeable?
Any help will be appreciated.
Thanks!

anindyasikdar
Автор

Adding formsets breaks updating orders (/update_order/<id>/)

sidekickrida
Автор

Please make a more advance course. We will ready to pay you. Amazing tutorial. This is a real tutorial with point to point understanding.

successpointcollegeofficial
Автор

Hey Dennis..
When i try to pass urlspatterens =[ path('create_order/<str:pk>'/, views.createOrder, name= ' create_order')] dynamically, it throws an error [reverse match not found and stuff like that]. Everthing is good i checked every url even templates but nothing helps. But without the dynamic url and customer initials, it works fine. Plz help

numanxaziz
Автор

Hey regarding the inline form sets ... is there a way to implement features such as adding fields and deleting fields individually, I searched the whole django world for this and literally your the closest one I can get

prajithkrish