Custom User Model with email login (DJANGO)

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I was struggling the whole day with the CustomerUser Model, and finally find this video, that was awesome .

faisalnazik
Автор

Mitch, you are killing it with this Django email login tutorial. Ever thought of bringing in FilterBounce to the mix? I began with their free plan and, boy, was I surprised by the accuracy. I stopped wasting leads because other tools would mislabel them as risky.

SujeetKumar-bcbr
Автор

Thank you so much Mitch, you've saved me a tone of days of scratching my head. Blessings man.

poloe
Автор

Just wanted to say thanks a lot! Working like charm still in Oct 2021!

thegrind
Автор

hell yeah you are awesome man
To be honest, I don’t know how you manage to do such all this stuff but I understand all things you said a good job. Very well done!

learnwithazadd
Автор

Yo, Mitch, this Django custom user model is slick. Just a thought - might want to consider showing the wonders of FilterBounce in a new video. I use their api for contact form verification and lost leads have been a thing of the past. FilterBounce accuracy is unrivaled.

gankidevi
Автор

19:05
DO NOT create user passing "password" inside a constructor instead of calling set_password method - that way you avoid encryption and password is not secured.

It's a great tutorial though, really helped me :)

spythere
Автор

I have been trying create a custom user model last three days, now thats the working solution. But maybe you forget fieldsets which is important for groups and permissions.

aKoRDioN
Автор

Hai again ..
Thanks for not writing HTML, but to copy and paste it ..
But to tell more detail about Django codes ...:)

ingafter
Автор

Hello Mitch. I am grateful for the course and finding you on YouTube, cheers mate. I have a quick question, how can I add say a usertype.
In my app we have custom Google and Twitter Sign In but problem is they're at the FrontEnd, and its a pain redoing what the guys have done. How can I add a UserType thats sent from the FrontEnd say email, google or twitter to our custom Account User?
I am getting some wierd errors and would appreciate your help on this. Cheers.

_Cyrus
Автор

How about the option for users to log in with either the username or email or phone number just like facebook?

nahidujjamanhridoy
Автор

Hi Mitch,
Thanks a lot for this great tutorial.
But I have no idea yet how to use them (the users) in a real world project.
I mean:
1. How to limit user as normal user to do something.
2. How to limit user as admin to do something.
Can you show them please ...
Thanks.
BR,
I am Nyoman from Bali, Indonesia

ingafter
Автор

For so long waiting for this, finally.. 😍

hosenmdaltaf
Автор

Thank you very much for the video, could you help me?
How do I register users with a valid or existing email? ... thanks in advance

jaimemerchan
Автор

Just found your videos today, very great content! Helps me a lot! The python magic part I like most :D

MikeJey
Автор

the image filepath does not work. Where would you recommend I start looking? I looked in the Account class which lead me to the get_default_profile_image function. i changed what gets returned but the change wasnt reflected on the admin page even after clearing my cache.

neiljavier
Автор

hi i exactly do the same and also copy your code but after creating a superuser i can't login in admin panel... i do everthing but it doesn't work... please help me!!

amir.tricker
Автор

I took a small variation from your tutorial. I did not include the username field in my Account class. After a lot of work I make almost everything to work. When I get into the admin page, select accounts and select a particular account I go to the url and get an error because the AccountForm expects the field "username". The error I get is "Key 'username' not found in 'AccountForm'. Choices are: email, ... Is there a way to tell the admin site that there is no username field? Thank you. Great tutorial.

CozumelExpert
Автор

good luck man. I'm thinking of developing such web app

seritrex
Автор

Thanks. If i created custom user model and named it 'CustomUser', then it can be accessed in admin panel by URL: <app_label>/customuser. How can i modify this url, if i want it to be <app_label>/user (not 'customuser')?

recursion