drf_admin icon indicating copy to clipboard operation
drf_admin copied to clipboard

错误的代码放上了折腾好久

Open L00J opened this issue 4 years ago • 1 comments

python manage.py loaddata init.json

port = int(port, 10) ValueError: Problem installing fixture '/home/admin/workspace/develop-django/tmp/drf_admin/init.json': Could not load system.Permissions(pk=1): invalid literal for int() with base 10: 'redis' (env3.6.2) [admin@us-cor

L00J avatar Jun 25 '21 01:06 L00J

python manage.py loaddata init.json

port = int(port, 10) ValueError: Problem installing fixture '/home/admin/workspace/develop-django/tmp/drf_admin/init.json': Could not load system.Permissions(pk=1): invalid literal for int() with base 10: 'redis' (env3.6.2) [admin@us-cor

python manage.py loaddata init.json

port = int(port, 10) ValueError: Problem installing fixture '/home/admin/workspace/develop-django/tmp/drf_admin/init.json': Could not load system.Permissions(pk=1): invalid literal for int() with base 10: 'redis' (env3.6.2) [admin@us-cor

python manage.py loaddata init.json

port = int(port, 10) ValueError: Problem installing fixture '/home/admin/workspace/develop-django/tmp/drf_admin/init.json': Could not load system.Permissions(pk=1): invalid literal for int() with base 10: 'redis' (env3.6.2) [admin@us-cor

您这边是在Linux下运行的吧? 项目还未尝试在Linux下运行,具体会有什么异常目前未验证。 如果是在Linux下运行,可以帮助写下注意事项,具体报错原因和解决方案等。 感谢😊

TianPangJi avatar Jun 25 '21 01:06 TianPangJi