2024 and it's still usefull and up to date! Thanks a million! <3
@Apoorvpandey5 ай бұрын
Why not simply create a one to one Spy and Diver model? I'm just seeing the proxy models as redundant
@Apoorvpandey5 ай бұрын
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
@abbasebadian68515 ай бұрын
Where are you?
@SaRah-nx7rj6 ай бұрын
Thank you so much .
@bixber44317 ай бұрын
How I make additional fields for any type of User? It need me for Online School with profiles of Users.
@IqbalArain-io3du8 ай бұрын
I am working this exact same situation, where I need Teacher, Admins, Students and Parents. 4 models
@IqbalArain-io3du8 ай бұрын
Thanks Seniore :) You are such a lovely person.
@CaseyFahey10 ай бұрын
Just what i needed, thank you!
@Demtri-mp1oc11 ай бұрын
Lets gather here spies. :)
@jedtrucker Жыл бұрын
Humbled to see these two giants sharing their conversation. Bravo
@rafaeldiasmartins4369 Жыл бұрын
Yeah, boy! Look, it great, but if the user is a driver and a spy? Could you give a hand with taht?
@akkysprogramming4113 Жыл бұрын
How to authenticate the user when you have multiple types of users
@laughingvampire7555 Жыл бұрын
html has evolved in the form of web-components.
@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 Жыл бұрын
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 Жыл бұрын
When did you add base_type? Can you please explain the logic, because i didn't see it in the first video :)
@ezekielminja5713 Жыл бұрын
Thank you so much...can you also make a video for multiple users as you suggested, i d really appreciate it
@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 Жыл бұрын
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 Жыл бұрын
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?
@maxkeogh10 ай бұрын
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 Жыл бұрын
Python Jesus talking with GOD
@brahimboughanem2082 жыл бұрын
Best book that I've read
@bazwa6a2 жыл бұрын
hahahahaha the last second 😅
@bazwa6a2 жыл бұрын
very valiable info.. thanks
@abhaypratapsharma86342 жыл бұрын
👍
@abhishektayal4802 жыл бұрын
Thank you so much sir. I had a hard time understanding proxy models. Now I have a clear idea about them. Great explanation.
@jugurthagreen9002 жыл бұрын
Can u make us a video for custom Django Field with Json approach, since it's much extra work, thx.
@hadirga2 жыл бұрын
Great discussion, FastAPI is awesome.
@mohsenhassani4952 жыл бұрын
Thank you Daniel, both for this video and Multiple user types video
@steelwolf1802 жыл бұрын
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.
@DanielFeldroy2 жыл бұрын
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.
@enistocilla93832 жыл бұрын
Great discussion
@স্বচ্ছনিরবতা2 жыл бұрын
I love this community!!
@MaximilianJackson2 жыл бұрын
fastapi and sqlmodel documentation is very awesome. Reminds me of the Feynman Technique where you need to explain it to a 12 year old.
@awildeep2 жыл бұрын
Rockets 🚀 from aliens 👽 goto the moon 🌛.
@MaximilianJackson2 жыл бұрын
that moustache is epic! =)
@nimda2sdfsdfsd2 жыл бұрын
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.
@inselmanu2 жыл бұрын
This i want to ask, too
@abhishektayal4802 жыл бұрын
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.
@lessentiel2212 жыл бұрын
Example with AbstractBaseUser
@kingofyoutube93182 жыл бұрын
What do you think about "Web Development With Django" by Ben Shaw, Andrew Bird, etc.?
@siyapandey87992 жыл бұрын
Thank you so much
@lionelmuskwe2 жыл бұрын
Thank you so so much. I subbed straight away. This was lucid and concise
@repotranstech2 жыл бұрын
Htmx is cool,this a revolution for the future.creating a single page application with htmx and Django is a breeze.
@the_street_coder44332 жыл бұрын
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.
@konakziyaemre2 жыл бұрын
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.
@konakziyaemre2 жыл бұрын
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
@diogoguimaraes46672 жыл бұрын
This is awesome! How would you create serializers for the rest auth framework with this approach?
@bearsstuff2 жыл бұрын
It's good to see you two again. Thank you for this!
@russf2 жыл бұрын
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.
@arnaudpoutieu13312 жыл бұрын
Hi Russ, hope you did a great product. Any feedback you could share on how it goes?