Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Sanshain opened this issue Jun 22, 2021 · 1 comment

Comments

@Sanshain
Copy link

Sanshain commented Jun 22, 2021

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?

@Sanshain Sanshain changed the title 'admin_static' is not a registered tag library by inclusion 'jet.dashboard' to INSTALLED_APPS "admin_static" is not a registered tag library if insert "jet.dashboard" in INSTALLED_APPS Jun 22, 2021
@Sanshain Sanshain changed the title "admin_static" is not a registered tag library if insert "jet.dashboard" in INSTALLED_APPS "admin_static" не является зарегистрированной библиотекой тегов в случае вставки "jet.dashboard" в INSTALLED_APPS Jun 22, 2021
@Sanshain Sanshain changed the title "admin_static" не является зарегистрированной библиотекой тегов в случае вставки "jet.dashboard" в INSTALLED_APPS "admin_static" is not a registered tag library in case insertion "jet.dashboard" in INSTALLED_APPS Jun 22, 2021
@Barukimang
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants