广告区
广告区
关注本站官方公众号:程序员总部,领取三大福利!
福利一:python和前端辅导
福利二:进程序员交流微信群,专属于程序员的圈子
福利三:领取全套零基础视频教程(python,java,前端,php)
发布于2022-05-21 12:13 阅读(42) 评论(0) 点赞(11) 收藏(1)
I'm making an app with Django 3.0.8 and I'm customizing the Django admin panel in order to make it more user-friendly for the administrators.
But the problem is that some (almost all) of my ManyToMany fields in my models are not displaying correctly.
Usually, you should have to boxes. On on the left (or above if your screen isn't large enough) where you can select the related objects, and one on the right (or bellow) of the first one, containing the objects already selected. You can use the arrows between to boxes to add or remove one or more objects from one box to the other.
The problem is that in my case, the right/bottom box and the arrows disappeared. i cannot see which objects are related to my current object and therefore I cannot remove some of them from the relationship, which is problematic.
I post this because I already had this with a couples of Django apps.
关注本站官方公众号:程序员总部,领取三大福利!
福利一:python和前端辅导
福利二:进程序员交流微信群,专属于程序员的圈子
福利三:领取全套零基础视频教程(python,java,前端,php)
关注公众号回复python,免费领取 全套python视频,回复充值+你的账号,免费为您充值1000积分
作者:黑洞官方问答小能手
链接:https://www.pythonheidong.com/blog/article/1533943/1f5bb8edd0d833b76859/
来源:python黑洞网
任何形式的转载都请注明出处,如有侵权 一经发现 必将追究其法律责任
昵称:
评论内容:(最多支持255个字符)
Copyright © 2018-2021 python黑洞网 All Rights Reserved 版权所有,并保留所有权利。 京ICP备18063182号-1
投诉与举报,广告合作请联系vgs_info@163.com或QQ3083709327
免责声明:网站文章均由用户上传,仅供读者学习交流使用,禁止用做商业用途。若文章涉及色情,反动,侵权等违法信息,请向我们举报,一经核实我们会立即删除!