geex-arts/django-jet

"admin_static" is not a registered tag library in case insertion "jet.dashboard" in INSTALLED_APPS

Sanshain opened this issue · 1 comments

I have an error:

'admin_static' is not a registered tag library. Must be one of:

when I follow the following instruction from here https://jet.readthedocs.io/en/latest/install_dashboard.html:

Add ‘jet.dashboard’ application to the INSTALLED_APPS setting of your Django project settings.py file (note it should be before ‘jet’):

INSTALLED_APPS = (
    ...
    'jet.dashboard',
    'jet',
    'django.contrib.admin',
    ...
)

To be more precise: when I set jet.dashboard before jet in INSTALLED_APPS I have got the error in line:

{% load i18n admin_static jet_dashboard_tags static %}

This line is inside jet/dashboard/templates/admin/index.html template.

I was looking for admin_static package inside templatetags directories of jet and jet/dashboard packages, but failed

Was the package with specified tags lost?

Use the django3 version of Jet: pip install django-3-jet