Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'future' is not a registered tag library.

I am on working on my django 1.10 version. I have installed the library tastypie_swagger. When I am loading the url I am getting the below error.

django.template.exceptions.TemplateSyntaxError: 'future' is not a registered tag
 library. Must be one of:
admin_list
admin_modify
admin_static
admin_urls
cache
i18n
l10n
log
static
staticfiles
tz

How can I fix this ?. I am pretty new to django

like image 773
Anish Avatar asked Sep 16 '25 20:09

Anish


1 Answers

The version of tastypie_swagger that you are using does not support Django 1.9+ because it contains {% load url from future %} in the templates.

The problem has been fixed by pull request 113, but there hasn't been a release since then. You could try installing the master branch on GitHub, or switch to Django 1.8.

like image 130
Alasdair Avatar answered Sep 18 '25 18:09

Alasdair



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!