You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting up the package in my Django project, I have encountered the following error:
Error during template rendering
In template <project-directory>/src/django-cruds-adminlte/cruds_adminlte/templates/cruds/base.html, error at line 5
'staticfiles' is not a registered tag library. Must be one of: admin_list admin_modify admin_urls adminlte_helpers cache crud_tags i18n l10n log static tz
After setting up the package in my Django project, I have encountered the following error:
Looking up the error on Stack Overflow (https://stackoverflow.com/questions/55929472/django-templatesyntaxerror-staticfiles-is-not-a-registered-tag-library) it seems that this was caused by an obsolete tag in the template files.
The tag
{% load staticfiles %}
has to be replaced by{% load static %}
which was already deprecated in Django 2.1.I am using:
Python 3.9.2 on conda 4.8.3 (Miniforge-pypy3-4.8.3.2) on Linux Kernel 4.4.154-110-rockchip-gcef30e88a9f5, running Ubuntu 18.04.5 on RockPi 4B.
Version 0.0.17 of the package referenced in Issue TypeError: metaclass conflict #102
The text was updated successfully, but these errors were encountered: