Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复AdminSplitDateTime IndexError #534

Merged
merged 1 commit into from
Mar 22, 2018
Merged

Conversation

Friday21
Copy link

http://127.0.0.1:8000/admin/auth/user/2/update/
1.11.11
IndexError
list index out of range
/home/friday/sns-ops/env/scene_env/lib/python3.6/site-packages/xadmin/widgets.py in render, line 81
/home/friday/sns-ops/env/scene_env/bin/python3.6
3.6.3

在django 1.11.11 下, widget.py 中 AdminSplitDateTime 会出现IndexError, 原因是render 函数是用换行符将两个分开的, 而此时......两个input之间并没有换行

@wgbbiao wgbbiao merged commit 697a658 into sshwsfc:master Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants