Problem UnicodeDecodeError when run createsuper

15 views
Skip to first unread message

Lucas Simon Rodrigues Magalhaes

unread,
Feb 4, 2017, 4:41:56 PM2/4/17
to Django users
Hello everyone,

I have a problem when run createsuperuser.py command in python 3.4. How can I solve it definitely?

Look the code:

ludovic coues

unread,
Feb 5, 2017, 9:20:45 AM2/5/17
to django...@googlegroups.com
What about using a string instead of a byte_array ?
Replacing b'Endere\xc3\xa7o de email: ' with 'Endereço de email: '
should do the trick

2017-02-04 22:41 GMT+01:00 Lucas Simon Rodrigues Magalhaes
<luca...@gmail.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...@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/3a4ecb72-736e-4e72-8b87-d009870f8615%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--

Cordialement, Coues Ludovic
+336 148 743 42
Reply all
Reply to author
Forward
0 new messages