I change to the default Django Admin Site.
==========================================================================================
manage.py@otaProject > addstatictoken programador
"C:\Program Files\JetBrains\PyCharm 2017.2.4\bin\runnerw.exe" C:\virtualenv\otaupdateEnv\Scripts\python.exe "C:\Program Files\JetBrains\PyCharm 2017.2.4\helpers\pycharm\django_manage.py" addstatictoken programador C:/Users/Programador/PycharmProjects/otaProject
System check identified some issues:
WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DIRS.
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2017.2.4\helpers\pycharm\django_manage.py", line 43, in <module>
run_module(manage_file, None, '__main__', True)
File "C:\Users\Programador\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 205, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File "C:\Users\Programador\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\Programador\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:/Users/Programador/PycharmProjects/otaProject\manage.py", line 15, in <module>
execute_from_command_line(sys.argv)
File "C:\virtualenv\otaupdateEnv\lib\site-packages\django\core\management\__init__.py", line 364, in execute_from_command_line
utility.execute()
File "C:\virtualenv\otaupdateEnv\lib\site-packages\django\core\management\__init__.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\virtualenv\otaupdateEnv\lib\site-packages\django\core\management\base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\virtualenv\otaupdateEnv\lib\site-packages\django\core\management\base.py", line 330, in execute
output = self.handle(*args, **options)
File "C:\virtualenv\otaupdateEnv\lib\site-packages\django_otp\plugins\otp_static\management\commands\addstatictoken.py", line 28, in handle
self.stdout.write(statictoken.token)
File "C:\virtualenv\otaupdateEnv\lib\site-packages\django\core\management\base.py", line 107, in write
if ending and not msg.endswith(ending):
TypeError: endswith first arg must be bytes or a tuple of bytes, not str
==========================================================================================