Пікірлер
@suikarmazenamento4796
@suikarmazenamento4796 20 күн бұрын
2024 and it's still usefull and up to date! Thanks a million! <3
@Apoorvpandey
@Apoorvpandey 5 ай бұрын
Why not simply create a one to one Spy and Diver model? I'm just seeing the proxy models as redundant
@Apoorvpandey
@Apoorvpandey 5 ай бұрын
How to add spy and driver specific data fields? For example I want SPY to have a mission = charField and driver to have a rating = integerField , these fields should not be there in User table
@abbasebadian6851
@abbasebadian6851 5 ай бұрын
Where are you?
@SaRah-nx7rj
@SaRah-nx7rj 6 ай бұрын
Thank you so much .
@bixber4431
@bixber4431 7 ай бұрын
How I make additional fields for any type of User? It need me for Online School with profiles of Users.
@IqbalArain-io3du
@IqbalArain-io3du 8 ай бұрын
I am working this exact same situation, where I need Teacher, Admins, Students and Parents. 4 models
@IqbalArain-io3du
@IqbalArain-io3du 8 ай бұрын
Thanks Seniore :) You are such a lovely person.
@CaseyFahey
@CaseyFahey 10 ай бұрын
Just what i needed, thank you!
@Demtri-mp1oc
@Demtri-mp1oc 11 ай бұрын
Lets gather here spies. :)
@jedtrucker
@jedtrucker Жыл бұрын
Humbled to see these two giants sharing their conversation. Bravo
@rafaeldiasmartins4369
@rafaeldiasmartins4369 Жыл бұрын
Yeah, boy! Look, it great, but if the user is a driver and a spy? Could you give a hand with taht?
@akkysprogramming4113
@akkysprogramming4113 Жыл бұрын
How to authenticate the user when you have multiple types of users
@laughingvampire7555
@laughingvampire7555 Жыл бұрын
html has evolved in the form of web-components.
@laughingvampire7555
@laughingvampire7555 Жыл бұрын
No, its not challenging, almost everyone uses react, so that is what you would normally would chose, and you also would because you have react.native, next.js, including server side rendering and now qwik. Another option that at least in web is superior would be Elm, is so good you will minimize to 0 the runtime errors on the browser.
@djtoon8412
@djtoon8412 Жыл бұрын
It s a long ago but it is still worth in 2023.Please make a video on how to handle Multiple User types for a single user as you insited in last part of this video.
@TomislavMiletic
@TomislavMiletic Жыл бұрын
When did you add base_type? Can you please explain the logic, because i didn't see it in the first video :)
@ezekielminja5713
@ezekielminja5713 Жыл бұрын
Thank you so much...can you also make a video for multiple users as you suggested, i d really appreciate it
@namwanzaronald9436
@namwanzaronald9436 Жыл бұрын
Learnt something very interesting to use in my project, thanks for the wonderful presentation. However, I have one question to ask here, let's say under Spy in the User model we have got other roles eg writer, viewer, commentor etc [list of other roles] - can this be achieved just like we created a whisper method ? , how would the spy class that inherits from the User class look like? Thanks.
@agustinsabas
@agustinsabas Жыл бұрын
Hi! I have a problem in my code.. Django doesn't send the email activation when i create a user with proxy model. Do you know why?? Help me 🙏 Thanks for this videos!!
@vincentroye
@vincentroye Жыл бұрын
Hi Daniel, What would be the easiest way to allow a user to be a spy and a driver? or eventually 10 different user types?
@maxkeogh
@maxkeogh 10 ай бұрын
I too would like to know how best to implement multiple user types per user. In this video you mentioned using an array. Are there any clues to do this in Two Scoops? If you don't have time to do a separate video do you know of good resources that explain this? Cheers.
@pacocastillosa
@pacocastillosa Жыл бұрын
Python Jesus talking with GOD
@brahimboughanem208
@brahimboughanem208 2 жыл бұрын
Best book that I've read
@bazwa6a
@bazwa6a 2 жыл бұрын
hahahahaha the last second 😅
@bazwa6a
@bazwa6a 2 жыл бұрын
very valiable info.. thanks
@abhaypratapsharma8634
@abhaypratapsharma8634 2 жыл бұрын
👍
@abhishektayal480
@abhishektayal480 2 жыл бұрын
Thank you so much sir. I had a hard time understanding proxy models. Now I have a clear idea about them. Great explanation.
@jugurthagreen900
@jugurthagreen900 2 жыл бұрын
Can u make us a video for custom Django Field with Json approach, since it's much extra work, thx.
@hadirga
@hadirga 2 жыл бұрын
Great discussion, FastAPI is awesome.
@mohsenhassani495
@mohsenhassani495 2 жыл бұрын
Thank you Daniel, both for this video and Multiple user types video
@steelwolf180
@steelwolf180 2 жыл бұрын
I'm pretty blew away with FastAPI. Danny, you should do a collaboration with Brad from "Traversey Media". I believe he might be pretty thrilled to work with you.
@DanielFeldroy
@DanielFeldroy 2 жыл бұрын
I appreciate the confidence that I could work with someone like Brad. However, my job at Octopus fighting the good fight against climate change takes precedence over anything else.
@enistocilla9383
@enistocilla9383 2 жыл бұрын
Great discussion
@স্বচ্ছনিরবতা
@স্বচ্ছনিরবতা 2 жыл бұрын
I love this community!!
@MaximilianJackson
@MaximilianJackson 2 жыл бұрын
fastapi and sqlmodel documentation is very awesome. Reminds me of the Feynman Technique where you need to explain it to a 12 year old.
@awildeep
@awildeep 2 жыл бұрын
Rockets 🚀 from aliens 👽 goto the moon 🌛.
@MaximilianJackson
@MaximilianJackson 2 жыл бұрын
that moustache is epic! =)
@nimda2sdfsdfsd
@nimda2sdfsdfsd 2 жыл бұрын
Great Video, Clear talk, fantastic explanation. Also put a video on Django built in Groups, Another question is if we have groups, cant we achieve with groups whatever you have done with proxy models.
@inselmanu
@inselmanu 2 жыл бұрын
This i want to ask, too
@abhishektayal480
@abhishektayal480 2 жыл бұрын
We can but we won't be able to user different methods like 'whisper' and 'accelerate' for different users. Proxy models are used to define different characteristics from a single model without created a new table in db.
@lessentiel221
@lessentiel221 2 жыл бұрын
Example with AbstractBaseUser
@kingofyoutube9318
@kingofyoutube9318 2 жыл бұрын
What do you think about "Web Development With Django" by Ben Shaw, Andrew Bird, etc.?
@siyapandey8799
@siyapandey8799 2 жыл бұрын
Thank you so much
@lionelmuskwe
@lionelmuskwe 2 жыл бұрын
Thank you so so much. I subbed straight away. This was lucid and concise
@repotranstech
@repotranstech 2 жыл бұрын
Htmx is cool,this a revolution for the future.creating a single page application with htmx and Django is a breeze.
@the_street_coder4433
@the_street_coder4433 2 жыл бұрын
great tutorial Sir, I have been seated here wondering why you are using type as a field when type is a python built in function, you will be breaking the naming convention and overwritting the built in `type` function.
@konakziyaemre
@konakziyaemre 2 жыл бұрын
Loved your videos. Can you also do a video about how should be a product and variant models in Django. I’m struggling doing it because a variant should take a dynamic attributes and values. Which means user should be able to add a attribute by himself such as color or size and also user also should be able to add values to these attributes such as small, medium or black, blue. I really don’t know how to do it and I believe you definitely have an idea.
@konakziyaemre
@konakziyaemre 2 жыл бұрын
I was keep looking a solution since I didn’t know how to add fields to the proxy models. Thanks for your solution. I’ll use it in my project
@diogoguimaraes4667
@diogoguimaraes4667 2 жыл бұрын
This is awesome! How would you create serializers for the rest auth framework with this approach?
@bearsstuff
@bearsstuff 2 жыл бұрын
It's good to see you two again. Thank you for this!
@russf
@russf 2 жыл бұрын
Thanks Danny! Thanks Jack. Nice talk, and thanks for fielding questions. This came at a good moment. I'm just dipping into HTMX myself, attracted by the low cognitive load and maintenance overhead. I'll be using it with a formset, to present settings 'per-row', and allow selections of related objects for processing. I'll also try django-htmx. Wish me luck.
@arnaudpoutieu1331
@arnaudpoutieu1331 2 жыл бұрын
Hi Russ, hope you did a great product. Any feedback you could share on how it goes?
@zakchips
@zakchips 2 жыл бұрын
Thanks.
@bobhafemeister9652
@bobhafemeister9652 2 жыл бұрын
Awesome presentation, Thanks so much!
@PKschmitzilla
@PKschmitzilla 2 жыл бұрын
Thanks for sharing!