filmov
tv
Learn Django - Build a Custom User Model with Extended Fields

Показать описание
Another Django tutorial, here we are building a custom user model, as more often than not the default Django model wont meet our project needs. This tutorial will take you through building a model manager, building a new user model with extended fields and then show you how to customise the Django admin interface and finally perform some testing the model.
Introduction
====
00:00 Introduction
02:00 Package/Software overview
03:45 Command file
Developing the new model
====
03:59 User model development
05:12 Translation
08:12 AbstracBaseUser
09:20 Required Fields
11:02 PermissionsMixin
12:05 BaseUserManager
12:43 Building the custom model manager - create_user
14:48 Building the custom model manager - create_superuser
17:52 Letting Django know about our new custom user model
Django Admin:
====
21:42 Customising the Django Admin interface
Testing:
====
27:04 Start testing - install coverage
29:28 Start building tests
Code Repository:
SUBSCRIBE to get more free tutorials, courses and code snippets!
Follow us on Facebook
Follow use on Twitter:
Introduction
====
00:00 Introduction
02:00 Package/Software overview
03:45 Command file
Developing the new model
====
03:59 User model development
05:12 Translation
08:12 AbstracBaseUser
09:20 Required Fields
11:02 PermissionsMixin
12:05 BaseUserManager
12:43 Building the custom model manager - create_user
14:48 Building the custom model manager - create_superuser
17:52 Letting Django know about our new custom user model
Django Admin:
====
21:42 Customising the Django Admin interface
Testing:
====
27:04 Start testing - install coverage
29:28 Start building tests
Code Repository:
SUBSCRIBE to get more free tutorials, courses and code snippets!
Follow us on Facebook
Follow use on Twitter:
Комментарии