Опитвам се да използвам 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:Python27libsite-packagesgrappellitemplatesadminbase.html, error at line 1
{% load admin_static %}{% load firstof from future %}{% load i18n grp_tags %}
Идеи?
Отговори:
1 за отговор № 1grappelli 2.4.8 (съвместим с django 1.5) не включва firstof от бъдещето, grappelli 2.5.0 (съвместим с django 1.6).
референтна връзка https://github.com/sehmaschine/django-grappelli/issues/407