Al ejecutar:
(env) luis@ux-pc:~/projects/administrador-webapp-django$ python3 manage.py createsuperuser
Nombre de usuario (leave blank to use 'luis'): superusername
Se me sale un error de Unicode:
Traceback (most recent call last):
File "manage.py", line 15, in <module>
execute_from_command_line(sys.argv)
File "/home/luis/projects/administrador-webapp-django/env/lib/python3.5/site-packages/django/core/management/__init__.py", line 38
1, in execute_from_command_line
utility.execute()
File "/home/luis/projects/administrador-webapp-django/env/lib/python3.5/site-packages/django/core/management/__init__.py", line 37
5, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/luis/projects/administrador-webapp-django/env/lib/python3.5/site-packages/django/core/management/base.py", line 316, i
n run_from_argv
self.execute(*args, **cmd_options)
File "/home/luis/projects/administrador-webapp-django/env/lib/python3.5/site-packages/django/contrib/auth/management/commands/crea
tesuperuser.py", line 61, in execute
return super().execute(*args, **options)
File "/home/luis/projects/administrador-webapp-django/env/lib/python3.5/site-packages/django/core/management/base.py", line 353, i
n execute
output = self.handle(*args, **options)
File "/home/luis/projects/administrador-webapp-django/env/lib/python3.5/site-packages/django/contrib/auth/management/commands/crea
tesuperuser.py", line 140, in handle
input_value = self.get_input_data(field, message)
File "/home/luis/projects/administrador-webapp-django/env/lib/python3.5/site-packages/django/contrib/auth/management/commands/crea
tesuperuser.py", line 195, in get_input_data
raw_value = input(message)
UnicodeEncodeError: 'ascii' codec can't encode character '\xf3' in position 7: ordinal not in range(128)
Esto pasa cuando intento crear un usuario, he buscado el UnicodeEncodeError: 'ascii' codec can't encode character '\xf3' in position 7: ordinal not in range(128) y no he dado con el problema
Si alguno le ha pasado y lo ha solucionado, pido que porfavor me compartan la solucion, necesito avanzar en el proyecto que tengo.
superusername
?