Au sujet d'utilisateurs avec email comme pseudonyme, j’ai créé (avec Russell Keith-Magee) un projet qui a comme but de fournir des classes et modèles qui aident a la création d'utilisateurs custom.
https://django-improved-user.readthedocs.io/en/latest/quickstart.html https://github.com/jambonsw/django-improved-user/ Si on parle de la façon d’enregistrer de nouveaux utilisateurs, le code dans django-registration serait peut-être utile aussi. https://github.com/ubernostrum/django-registration A savoir: la classe BaseUserManager vient avec une méthode make_random_password. https://docs.djangoproject.com/en/2.1/topics/auth/customizing/#django.contrib.auth.models.BaseUserManager Andrew https://jambonsw.com <https://jambonsw.com/> https://django-unleashed.com <https://django-unleashed.com/> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/39D445EA-C85C-4AD0-B169-A0C58CB7CE02%40andrewsforge.com. For more options, visit https://groups.google.com/d/optout.