[英]Django admin panel Datepicker not working
I am using daterangefilter to filter result according to dates but my datepicker is not working.Its showing datepicker icon but not working. 我正在使用daterangefilter根据日期过滤结果,但我的日期选择器不起作用。它显示日期选择器图标但不起作用。
I tried to reinstall daterangefilter as well as django-suite(seen somewhere while searching for the solution) to identify the problem but it is in same state. 我试图重新安装daterangefilter以及django-suite(在搜索解决方案时在某处看到)以识别问题,但它处于相同状态。
list_filter = ['company', 'status', 'published', 'dont_publish',('created_at', DateRangeFilter)]
You are probably missing static files, as stated in the django-daterangefilter
package description: 如django-daterangefilter
软件包描述中所述,您可能缺少静态文件:
Application uses static files so do not forget to issue
collectstatic
management command in production environment. 应用程序使用静态文件,因此不要忘记在生产环境中发出collectstatic
管理命令。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.