Re: 2020 Authentication Initiativ

2019-04-10 Thread Barnaby
If we go to the most common use case, email + password is the current "default" of the web, rather than username + password. It would make sense for Django to use email + password by default. It also feels like first_name and last_name have no place in AbstractUser and should me moved to NamedA

Allowing model field choices to receive a list of strings instead of a list of string tuples

2019-04-19 Thread Barnaby
Hello, I remember that, as a beginner Django developer, I stumbled upon the `choices` attribute of `models.CharField`. Could we allow lists to be passed to choices ? `choices=['potato', 'carrot', 'turnip']` Which would be the same as this : `choices=[('potato', 'potato'), ('carrot', 'potato'),