xadmin
xadmin copied to clipboard
Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap.
已经找到问题所在,并提供解决方案,就一个小修改。 xadmin.widget.select-transfer.js 第172行修改为: `box.options[i].selected = true;` 然后在第72行前添加: `if (box == this.to_box) { this.to_box[0].options[0].selected = true; };` 修复的bug是必须点击一下右侧选中框才能提交这个问题。 没能找到具体的原因,但是发现修改HTML的option标签的selected属性为true(任意一个就行)就能处理这个问题,索性在显示的时候直接显示第一个为select就绕开它了。
django2、python3.6环境 在`INSTALLED_APPS`中加了`xadmin`,xadmin文件夹也是从django2分支中拷贝进项目里的,为何会有如此错误 ``` File "G:\python\PycharmProjects\myapp\venv\lib\site-packages\django\db\models\base.py", line 108, in __new__ "INSTALLED_APPS." % (module, name) RuntimeError: Model class django.contrib.admin.models.LogEntry doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS. ```
Uncaught TypeError: Cannot read property 'dates' of undefined at xadmin.widget.datetime.js:46 at xadmin.widget.datetime.js:90
xadmin适配Django2.2以上吗?
使用xadmin自定义页面的时候报错 for model, model_admin in self.admin_site._registry.items(): AttributeError: 'TestView' object has no attribute 'admin_site' django版本:1.11.1 python版本:3.6.4
(testdjango2admin) lijinzhoudeMBP:d5admin lijinzhou$ pip install xadmin Collecting xadmin Collecting httplib2==0.9.2 (from xadmin) Collecting django-formtools>=1.0 (from xadmin) Downloading django_formtools-2.1-py2.py3-none-any.whl (132kB) 100% |████████████████████████████████| 133kB 245kB/s Requirement already satisfied: setuptools in /Users/lijinzhou/.virtualenvs/testdjango2admin/lib/python3.6/site-packages/setuptools-28.8.0-py3.6.egg (from...
I run python manage.py makemigrations, it showed this error. Idk how to solve it. All pre-settings were settled, what should I do for this problem. Thank you
有什么简单的的方法吗
After login- the demo fails with this screen: 
A problem of xadmin with Django 2.0 Internal Server Error: /xadmin/ Traceback (most recent call last): File "C:\Users\sidsse888\Anaconda3\lib\site-packages\django\core\handlers\exception.py", line 35, in inner response = get_response(request) File "C:\Users\sidsse888\Anaconda3\lib\site-packages\django\core\handlers\base.py", line 128, in...