Py学习  »  Django

django 自定义的过滤器在uwsgi中读不了你们怎么解决的

1147101766 • 4 年前 • 340 次点击  

TemplateSyntaxError at / 'time_filter' is not a registered tag library. Must be one of: admin_list admin_modify admin_static admin_urls cache highlight i18n l10n log more_like_this rest_framework static staticfiles tz

Error during template rendering In template /srv/xfz/front/templates/news/index.html, error at line 2

'time_filter' is not a registered tag library. Must be one of: admin_list admin_modify admin_static admin_urls cache highlight i18n l10n log more_like_this rest_framework static staticfiles tz 用python manage.py runserver 运行没有问题 但是只要用uwsgi 就不行

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/57122
 
340 次点击