मैं 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 के साथ संगत) भविष्य में पहले से शामिल नहीं है, grappelli 2.5.0 (django 1.6 के साथ संगत) करता है।
संदर्भ लिंक https://github.com/sehmaschine/django-grappelli/issues/407