I'll be honest, I have seen too many Django tutorials but you are the only one who can actually go straight to the point in the most clear way possible.
Structured, Well presented and at just the right pace, as all your videos are. I've used crispy forms before, but still learned things (and better ways to do what I was doing as well). Thanks.
Hello Master 🙌🏾🙌🏾🙌🏾, i think you're reading in people's mind 🤔. I really was in need of how to do htmx with crispy forms and abracadabra 🪄 you did it 😌. GOD BLESS MATE. YOU ARE GREAT MAN 🙌🏾.
Using crispy as is really works great, especially if all you want are the bootstrap classes. If you decide to venture in to the custom template pack world, you really see first hand how much complexity it is hiding you from you.
Do a Django allauth video. With multiple user type registration say, register as Teacher or Student. And how you can restrict views using decorators functions for them. Thank youuu
How do we style it if we require a little bit of customisation or if we require another framework like Tailwind? This strategy has drawbacks, in my opinion. Since I'm a student, my expertise is limited.
I started off with BootStrap5, hands me over a lot of control in the template. Just read Crispy docs, and it seems nice. But the question I am askimg to myself is: do I want to build the whole html in the view instead of template? I am not sure at this point.
If you prefer to build in the template (as I generally do), you can use django-widget-tweaks alongside Django form fields to add Bootstrap classes to the fields.
Great video. You have new subscriber here!! One question.....how is it going to work if I need to pass pk to my reverse_lazy function? (I'm really new to Django and web dev.) Thank in advance!!
Thank you. You can pass kwargs to the reverse_lazy function, so for example you can pass the primary key. Something like this: reverse_lazy('my-url', kwargs={'pk': 1})
this video contains steps that i couldn't follow quite well, is this by chance a Part 2 video? i didn't see you creating the forms.py file and index.html and base.html
The starter code can be found in this Git repo: github.com/bugbytes-io/crispy-forms-htmx (you can work from the Starter code directory - create the forms.py file and follow along with the video) Thanks for letting me know - I've added that link to the video description, too.
Hey. You have not installed crispy forms in your environment, try these commands: pip install django-crispy-forms And then add crispy_forms to your installed apps
Hey man, awesome explanation. Can i know how can I contact you i have a project at my work that has some complex crispy form usage so need your help there
How do we style it if we require a little bit of customisation or if we require another framework like Tailwind? This strategy has drawbacks, in my opinion. Since I'm a student, my expertise is limited.
I'll be honest, I have seen too many Django tutorials but you are the only one who can actually go straight to the point in the most clear way possible.
AWesome, thanks a lot for that comment Nicola!
@@bugbytes3923
the way you are demonstrating things is incredible❤
Thanks a lot for the nice comment!
Structured, Well presented and at just the right pace, as all your videos are. I've used crispy forms before, but still learned things (and better ways to do what I was doing as well). Thanks.
Thanks Darren, that's very good to hear that! Cheers!
Hello Master 🙌🏾🙌🏾🙌🏾, i think you're reading in people's mind 🤔. I really was in need of how to do htmx with crispy forms and abracadabra 🪄 you did it 😌. GOD BLESS MATE. YOU ARE GREAT MAN 🙌🏾.
Thanks man! Well, I wish I could read people's minds 😂 But I'm glad the videos are useful for you! Cheers!
Great video. I follow you for a while now and want to say you are getting better . Keep the good work.
Thanks Eric, I appreciate that comment!
Using crispy as is really works great, especially if all you want are the bootstrap classes. If you decide to venture in to the custom template pack world, you really see first hand how much complexity it is hiding you from you.
No amount of django crispy forms can render any website as 'crespy' as your accent. wow😁
Wow, thank you!!
amazin video and amazin tools introduced just is such short video. superb and big thanks
Thank you for watching - glad you enjoyed it!
Nice content! Excelent video! Greetings from Brazil!
Thank you! Nice one, I'm hoping to visit Brazil someday! Glad to hear you like the video.
no trash talk, good.
thanks!
Big Thanks! Very simple lecture
Thanks for watching!
Your accent is lovely mate
Great
Video
Mate!
Thank you mate!
Do a Django allauth video. With multiple user type registration say, register as Teacher or Student. And how you can restrict views using decorators functions for them. Thank youuu
That's a great suggestion, thanks! I'll definitely look into doing an allauth video in the next month or so. Thanks again!
Good Bless you . ❤👌
that's great! thank you!
Thank you!
awesome thanks😅
I'm new to Django, i was confused , i forgot to add bootstrap CSS , script links in base file😆
How do we style it if we require a little bit of customisation or if we require another framework like Tailwind?
This strategy has drawbacks, in my opinion.
Since I'm a student, my expertise is limited.
hallo BugBytes beautiful video
Thank you 😄
Nice video
Thanks!
Thank you very much this solved my problem. But could you point me to a video that explains Modal Popup, I will really appreciate
I started off with BootStrap5, hands me over a lot of control in the template. Just read Crispy docs, and it seems nice. But the question I am askimg to myself is: do I want to build the whole html in the view instead of template? I am not sure at this point.
If you prefer to build in the template (as I generally do), you can use django-widget-tweaks alongside Django form fields to add Bootstrap classes to the fields.
Widgets working perfect thank you. But after used widget verbose_name changed, how can I setup verbose_name correctly, any help?
how I get `dd/mm/yyyy` date format in form ?
I can't seem to make the Inline radio select :( do you have any idea how to implement this?
How to add a variable running javascript code and its value as an attribute to a django form field.
How do you go about model forms?
Great video. You have new subscriber here!! One question.....how is it going to work if I need to pass pk to my reverse_lazy function? (I'm really new to Django and web dev.) Thank in advance!!
Thank you.
You can pass kwargs to the reverse_lazy function, so for example you can pass the primary key. Something like this:
reverse_lazy('my-url', kwargs={'pk': 1})
I kinda fixed the problem. I use CBV and I use success url and get_success_url so i don't need to specify it in the form. Thanks for the answer!
Another question that i cant find solution in google is how to change the labels font size from the crispy forms? or to simply do it via CSS
this video contains steps that i couldn't follow quite well, is this by chance a Part 2 video?
i didn't see you creating the forms.py file and index.html and base.html
The starter code can be found in this Git repo: github.com/bugbytes-io/crispy-forms-htmx
(you can work from the Starter code directory - create the forms.py file and follow along with the video)
Thanks for letting me know - I've added that link to the video description, too.
@@bugbytes3923 you're welcome bud, thanks for the answer
muy bueno loko
I love youuuu
some help ! I do not how to fix this: ModuleNotFoundError: No module named ‘crispy_forms’
Hey. You have not installed crispy forms in your environment, try these commands:
pip install django-crispy-forms
And then add crispy_forms to your installed apps
@@bugbytes3923 hi ! i have to create a new virtual enviroment. now works
Hey man, awesome explanation. Can i know how can I contact you i have a project at my work that has some complex crispy form usage so need your help there
Thanks. Feel free to email:
www.bugbytes.io/contact/
How do we style it if we require a little bit of customisation or if we require another framework like Tailwind?
This strategy has drawbacks, in my opinion.
Since I'm a student, my expertise is limited.