我正在尝试将 django-grappelli 与 django 版本 1.5.1 一起使用
但在设置后,grappelli 的所有要求,我有以下错误。
TemplateSyntaxError at /admin/
'firstof' is not a valid tag or filter in tag library 'future'
In template C:\Python27\lib\site-packages\grappelli\templates\admin\base.html, error at line 1
{% load admin_static %}{% load firstof from future %}{% load i18n grp_tags %}
想法?