Рет қаралды 155,633
How to Create a Custom Django User Model
The Guide: kirr.co/ygijli
Repo: kirr.co/v2m266
Chapters:
0:00:00 - Welcome
0:00:52 - Before we get started
0:03:47 - Create the Abstract Base User
0:17:25 - Create the User Model Manager
0:17:25 - Change Auth User Model to our Custom Model
0:27:14 - Reload the Database with Fixtures
0:34:00 - Forms & Admin for our Custom User
0:43:29 - Add a Required Field to the User Model
0:50:47 - Update Login & Register Forms
0:56:28 - Login & Register Views
-----
Amazing Starts Small. Learn to build great products with code.
Enroll: kirr.co/ni5fia or Subscribe: kirr.co/7l2sv4/
-----
Questions? kirr.co/wmdnzz/
Suggestions? kirr.co/5d7m1r/
All of my step by step projects: kirr.co/ni5fia/
My equipment:
Laptop: amzn.to/2c965EL
4k Camera: amzn.to/2cb0JeS
Drone/Aerial Video: amzn.to/2cCUgLq
Flexible/Travel Tripod for DSLR: amzn.to/2d13rXi (I highly recommend this too: amzn.to/2ckauYr)
General Purpose Tripod: amzn.to/2d4xNUS
Webcam: amzn.to/2bZEc7I
Camera Mic: amzn.to/2cb0PTp
Studio Mic: amzn.to/2cCdNc3
Mic Arm (for Studio): amzn.to/2cCepyd
Shock Mount (for Studio): amzn.to/2c97uLN
Phone: amzn.to/2c97R8X
Tablet (and portable external monitor) : amzn.to/2c5Fqdx
External Hard drives: amzn.to/2c5FvxV
Headphones (mic used for travel recording): amzn.to/2c5GGNO