November 2015
Beginner to intermediate
840 pages
26h 30m
English
When we swapped the User model in Chapter 22, we discovered that we had effectively broken the UserManager, and we extended the auth app’s implementation with our own createuser() and createsuperuser() methods.
When we did so, we partially broke the createsuperuser command for manage.py, called the createsuperuser management command. In this section, we fix that by creating our own custom management commands to create users and superusers. Before we jump into these commands, we first ease into the process by building a simpler command: createtag.
Read now
Unlock full access