Also, there's the create_superuser() method.
On Fri, 15 Mar 2019 at 01:48, Peter of the Norse wrote:
> The biggest difference is that when you call create_user, it creates a
> hash of the password. Eventually, create_user does call create, but only
> after setting all the values properly.
>
>
The biggest difference is that when you call create_user, it creates a hash of
the password. Eventually, create_user does call create, but only after setting
all the values properly.
Sent from my iPad
> On Feb 17, 2019, at 4:30 AM, Maarten Nieber wrote:
>
> Hi,
>
> the Django guidelines
Vào 1:05, Th 2, 18 thg 2, 2019 Maarten Nieber Hi,
>
> the Django guidelines tell us to implement CustomUserManager.create_user.
> However, this seems to introduce some ambiguity between
> CustomUserManager.create_user and CustomUserManager.create, since both
> these methods can be expected to
Hi,
the Django guidelines tell us to implement CustomUserManager.create_user.
However, this seems to introduce some ambiguity between
CustomUserManager.create_user and CustomUserManager.create, since both
these methods can be expected to create a User. In fact,
it would be easy to
4 matches
Mail list logo