Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 pipenv 2018.11.26 中使用 Django 2.2.7 和 python 3.8。在我的 django 管理员中,我无法选择模型对象列表中的所有项目复选框(见下图),也看不到带有“现在”和“今天”动作的日期选择器。
我找到了一个导致这个问题的地方。在我的 settings.py 中:
FORM_RENDERER = 'django.forms.renderers.TemplatesSetting'
此设置会覆盖所有小部件和他的模板,因此在我的 django 管理员中无法使用某些小部件。