30.2.3 The User Model

When building a website in Django, the user requires some extra consideration. The swappable nature of the User model and the way it affects our migrations means that it is the next thing we want to consider and one of the first pieces of code to tackle (or at least prepare for). We want to make sure the User model is as lean as possible, but everything else is in the air:

Image Username or email?

Image Password or external service (such as Twitter, Google, or Facebook, or even an organization-specific service)?

Any information not related ...

Get Django Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.