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:
Version 0.0.17 of the package referenced in Issue #102