Adding required email field to django when creating users with admin
django, django-admin
Solution
Place this in your `models.py`.
from django.contrib.auth.models import User
User._meta.get_field('email').blank = False
Run `makemigrations`.
Run `migrate`.
See the documentation
Problem
When creating/adding a user with Django admin; how can this be customized? For example, currently, the username and password are prompted for. However, I'd like to customize this to also have other required fields, such as 'email'? The Django tutorial isn't clear on admin user auth customization?