The most comprehensive examples of the most frequently used features such as crispy form, muti select, many to many, como box in a concise video. Thanks!
@bugbytes39239 ай бұрын
Thanks a lot, really appreciate it!
@ChrisBoendermaker4 ай бұрын
This guy is a bloody legend! The content was clear, concise and very well explained. Nothing was left out. Champion!!
@bugbytes39234 ай бұрын
Thanks a lot, appreciate it!
@가팔르아이수8 ай бұрын
This is one of the best videos on KZbin and I just love it.🔥🔥🔥👍🏻🤩
@trondlillebo Жыл бұрын
Great video as always. select2 is a gold discovery! 🥳👍
@bugbytes3923 Жыл бұрын
Glad to hear it, it's a cool tool, and thank you!
@AmoahDevLabs Жыл бұрын
Great gist. I integrated select-2 in my current project. I'm happy you're throwing more lights on it.
@bugbytes3923 Жыл бұрын
Thanks! Select2 is cool, nice and easy to use and very useful.
@seydinaoumarsamabaly1806 Жыл бұрын
Been waiting for one tuto of yours this week, finally it arrived 😩! The Django GOAT 🙏🏾🙌🏾! Thank you Master.
@bugbytes3923 Жыл бұрын
Thank you very much!
@SevereTsunamist Жыл бұрын
You are the best! Thanks for compact and complete overview
@bugbytes3923 Жыл бұрын
Thanks for the nice comment!
@kunalgorelife Жыл бұрын
Much awaited! Happy as heaven!
@bugbytes3923 Жыл бұрын
Thanks a lot!
@amine63404 Жыл бұрын
Thank you very much, this is exactly what I was looking for.
@bugbytes3923 Жыл бұрын
Awesome - thanks for watching!
@wazidmalik6824 Жыл бұрын
what an amzing tutorial 🧡🧡
@bugbytes3923 Жыл бұрын
Thanks!
@wiki-infodevelopment3369 Жыл бұрын
Like always, you are the best 😍
@bugbytes3923 Жыл бұрын
Thanks a lot!
@benkal5406 ай бұрын
So great ! Amazing! 🤩
@bugbytes39236 ай бұрын
Cheers man!
@Zeksait Жыл бұрын
дай я тебя обниму! Лучшая структура видеоурока: теория и практика. После твоего объяснения не остается вопросов и все получается повторить с первого раза. Так же видео не длительное и не утомляет. Молодец, хорошо поработал над структурой повествования! ПОДПИСАЛСЯ
@Zeksait Жыл бұрын
В админке можно на странице модели при выборе model_choice_filed можно нажать на "+" и появится popup окно для создания нового объекта. после создании, этот объект будет выбран в поле. Во всем ютубе не могу найти - как сделать это в своей форме.. Может быть хорошая идея для твоего следущего видеоурока! =)
@ahmedmashaly2 Жыл бұрын
greaaaaaaaaaat master 👍👍👍👍
@bugbytes3923 Жыл бұрын
Thanks!
@farzadmf Жыл бұрын
Oh no! jQuery 😆 ... great video BTW (as usual)
@repotranstech Жыл бұрын
Lots of projects still need jQuery.
@myoji5580 Жыл бұрын
Background using jQuery in select2 package.
@KhanhTran988111 ай бұрын
Hi, thank you so much for this very helpful clip!
@bugbytes392311 ай бұрын
Thanks a lot for watching!
@asgeralia8802 Жыл бұрын
Superb and awesome
@bugbytes3923 Жыл бұрын
Thanks a lot!
@Ego_Maritm Жыл бұрын
Great Video bro. Thank you so much.
@bugbytes3923 Жыл бұрын
Thanks a lot!
@mr.yayaman Жыл бұрын
What I exactly need 😊 thank you for this.
@bugbytes3923 Жыл бұрын
Thank you!
@JustinSpryce Жыл бұрын
Great lesson, sir
@bugbytes3923 Жыл бұрын
Thank you!
@nandasc1652 ай бұрын
Can you explain how to use select2 with formset please? This was awesome
@WoraesWilliam11 ай бұрын
Obrigado me ajudo bastante sucesso pra você
@MarvinJosueSalazarGarcia4 ай бұрын
muchas gracias
@bugbytes39234 ай бұрын
Gracias por ver!
@mahmoudramadan4237 Жыл бұрын
thank you, amzing !
@bugbytes3923 Жыл бұрын
Thanks a lot!
@dmitrymikhailovnicepianomu8688 Жыл бұрын
Thank you!
@bugbytes3923 Жыл бұрын
Thanks for watching!
@klipfilmku8 ай бұрын
how to change the strip that appears as a result of using foreign keywords in the input form?
@TomislavMiletic9 ай бұрын
Thank you for this :) Is there a way to just limit the number of objects shown, like if you are this Car object and you have 100 objects, you don't want to query by country, what if you just don't want to show all 100 objects in the dropdown? Also can we make this search result trigger a child element so it becomes dependable? It only works with the regular django + htmx select parent (FK) that triggers the child element objects to be shown in the options below, but with this search, it doesn't work ...
@snelledre Жыл бұрын
Thanx for the video it explains a lot. But a question what do you prefer tailwind or bootstrap in combination with Django?
@bugbytes3923 Жыл бұрын
Thanks! I like both, to be honest. Maybe prefer Tailwind, slightly.
@innerthreatcircus565110 ай бұрын
heey I was looking for this but with one addition. what if the car isn't there availble, how to make it go quickly create a new one without leaving the main form page? have any tips for me here? thanks a lot mate.
@umairsarwar7472 Жыл бұрын
Hello bro its a request please create a multilevel dropdown/nested with search functionality and data having icons too , htmx will be good or you can use anything i found no solution for this
@repotranstech Жыл бұрын
Cool video,this was a problem for me in the past ,tried autocomplete light but it wasn't elegant.Django select2
@bugbytes3923 Жыл бұрын
Same, I had some issues with autocomplete-light. Thanks!
@repotranstech Жыл бұрын
When is the finance tracker project demo dropping?
@serychristianrenaud Жыл бұрын
Thank
@bugbytes3923 Жыл бұрын
Thanks for watching!
@pulgaaa62 Жыл бұрын
thankyou
@bugbytes3923 Жыл бұрын
Thanks for watching!
@ggsgetafaf1167 Жыл бұрын
I have encountered an issue where using render_block_to_string to respond to an HTMX Ajax call for replacing choice fields, which were initially set with select2(), causes jQuery not to affect these fields anymore. To resolve this, I had to add a script using htmx.onLoad to reattach select2() to the choice fields. However, there's a small problem. How can I prevent lag from happening between onLoad events?
@ShinjiC7 Жыл бұрын
how do we implement models and select2 to allow user to add a new car that isnt in our database? in select2 documentation there is someting like "tags: true" that allows you to enter a new tag (a new car in this case) but i dont know hot to get it working with django. right now if i only add tangs:true and try to enter a new car it shows this forms error: Select a valid choice. That choice is not one of the available choices.
@Zeksait Жыл бұрын
У тебя в field.select в post запросе должно быть это новое значение. Иначе is_valid не пропустит
@Zeksait Жыл бұрын
sorry. aming: if request.method == 'POST': form = OrderForm(request.POST) form.fields['client_company'].queryset = ClientCompany.objects.filter(client_id=client.id)
@thekgul Жыл бұрын
great stuff!, and how to make the car field dynamically displayed (not the entire queryset, but for example, we enter letters and it is dynamically completed and we can choose an element from what we have filtered)?
@bugbytes3923 Жыл бұрын
Thanks! I think select2 in the video does this? Or have I misunderstood what you mean?
@thekgul Жыл бұрын
@@bugbytes3923 for example: we have 500 cars (too many to display in the selection field), we enter the names and dynamically this list is completed and then we can choose what interests us
@peterholzer98Ай бұрын
This work fine for me med as well, but it doesn't work if I use HTMx to insert the form within a partial html- block. Anyone who had the same experience and could fix it?
@AliHassan-wc6nb Жыл бұрын
Hi, can you do the same thing crispy tailwind?
@bugbytes3923 Жыл бұрын
I'll look into that.
@unl0ck998 Жыл бұрын
Choices is better than select2 because it doesn't require jQuery
@repotranstech Жыл бұрын
What if you have thousands of choices to choose from?say clients data.
@unl0ck998 Жыл бұрын
@@repotranstech Choices allows search through fetch api.
@federicocampo557 Жыл бұрын
Hello, can you explain how use select2 with dynamic formsets?