Giter VIP home page Giter VIP logo

xadmin_bugfix's People

Contributors

vip68 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

xadmin_bugfix's Issues

修正了一个m2m_transfer的bug,希望添加

xadmin.widget.select-transfer.js
第172行修改为:
box.options[i].selected = true;
然后在第73行前添加:
if (box == this.to_box) { this.to_box[0].options[0].selected = true; }
修复的bug是必须点击一下右侧选中框才能提交这个问题。

部分控件的text不能完全转成中文

请问部分控件的文字部分不能转换成中文怎么办?比如过滤器Filter和书签BookMarks,还有主页Main Dashboard都没有翻译成中文,我查看源码都trans了啊,为什么他们还是处于英文状态呢?

demo 跑不起来

win10 x64
python 3.7.5 x86

pip list
asgiref 3.3.1 defusedxml 0.6.0 diff-match-patch 20200713 Django 3.0 django-ckeditor 6.0.0 django-crispy-forms 1.10.0 django-formtools 2.2 django-import-export 2.5.0 django-js-asset 1.2.2 django-reversion 3.0.8 et-xmlfile 1.0.1 future 0.18.2 httplib2 0.18.1 jdcal 1.4.1 MarkupPy 1.14 odfpy 1.4.1 openpyxl 3.0.5 pip 20.2.4 pytz 2020.5 PyYAML 5.3.1 setuptools 51.0.0 six 1.15.0 sqlparse 0.4.1 tablib 3.0.0 wheel 0.35.1 xlrd 2.0.1 XlsxWriter 1.3.7 xlwt 1.3.0
复制xadmin 到demo目录

python manage.py makemigrations时提示
File "D:\webroot\xadmin_bugfix\demo_app\xadmin\plugins\importexport.py", line 48, in <module> from import_export.admin import DEFAULT_FORMATS, SKIP_ADMIN_LOG, TMP_STORAGE_CLASS ImportError: cannot import name 'SKIP_ADMIN_LOG' from 'import_export.admin' (D:\Envs\testxadmin\lib\site-packages\import_export\admin.py)

环境是新建的

multiselect.py在render时出错

步骤:设置一个field为'm2m_transfer'时出错
错误原因:renderer为不能识别的参数
修改方法:
原行: def render(self, name, value, attrs=None, choices=()):
修改为:def render(self, name, value, attrs=None, choices=(), renderer=None):

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.