pouvez vous me donner un exemple je comprends pas.

Le ven. 19 oct. 2018 à 13:52, Joel <j...@eyrie.in> a écrit :

> You can choose anything. Username and password creation happens
> simultaneously with that command
>
> On Fri, 19 Oct, 2018, 7:03 PM , <fatoubinetou...@gmail.com> wrote:
>
>> and to generate the username?
>>
>> Le vendredi 19 octobre 2018 03:05:26 UTC, Joel a écrit :
>>>
>>> newpassword = RandomPassword()
>>> user = User.objects.create_user(username, email, newpassword)
>>>
>>> Joel G Mathew
>>>
>>> On Fri, 19 Oct 2018 at 06:55, <fatoubi...@gmail.com> wrote:
>>> >
>>> > Bonjour! Je voudrais lorsqu'un utilisateur s'inscrit avec ses
>>> informations personnelles puis soumet le formulaire, je lui génère un nom
>>> d'utilisateur et un mot de passe qu'on envoie dans son mail fourni.
>>> >
>>> > --
>>> > 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...@googlegroups.com.
>>> > To post to this group, send email to django...@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/ba2ee416-84fa-4688-a461-a482a3890175%40googlegroups.com.
>>>
>>> > For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> 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/3b4a5f12-539d-4049-99ed-1fe37f196849%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/3b4a5f12-539d-4049-99ed-1fe37f196849%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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/CAA%3Diw_8EcZHJH21oUHUX%3DT1ceM%2B6i%3Dmbm0v6_f2dNpTpHwZnSw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAA%3Diw_8EcZHJH21oUHUX%3DT1ceM%2B6i%3Dmbm0v6_f2dNpTpHwZnSw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPrAdYngS-U13B4RDrB3vm3bdpxpSUk%3DG2JeKVTnvekLZmsJvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to