litchfield/django-liststyle

[Support Django 2.x] TemplateSyntaxError: 'future' is not a registered tag library

Opened this issue · 3 comments

koddr commented

Hello.

My env is:

  • Django 2.0.6
  • Python 3.6.4

Traceback:

Error during template rendering

In template /Users/my_user/.local/share/virtualenvs/my_project-fiOUaYzG/lib/python3.6/site-packages/liststyle/templates/admin/change_list_results.html, error at line 2

'future' is not a registered tag library. Must be one of: active_state admin_interface_tags admin_list admin_modify admin_static admin_tags admin_urls bulma_form_elements cache compat django_rq hijack_tags i18n jquery_path l10n liststyle_tags log math_operations object_name rest_framework static staticfiles tz

On line 2 of ./liststyle/templates/admin/change_list_results.html:

{% load i18n admin_static %}{% load cycle from future %}

Please, can you add full support Django 2.x?

@koddr If you check the last commit, you'll see this bug has been fixed in 2017, @litchfield just needs to update the package on PyPI, I believe.

Right now the workaround is either making pip install directly from this repo or by creating a stub future templatetag.

koddr commented

@lanahra oh, I see.. Somebody knows, why @litchfield don't push package to PyPI?

I'm getting the same issue with Django==1.11.5