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
Trying to access the constance objects in Django 3.0.1 admin fails with
TemplateSyntaxError at /admin/constance/config/
'admin_static' is not a registered tag library. Must be one of:
admin_list
admin_modify
admin_urls
cache
i18n
l10n
log
static
tz
Steps to reproduce
Install constance and try to access it in the Django admin
System configuration
Django version: 3.0.1
Python version: 3.6.8
The staticfiles and admin_static template tag libraries are removed in Django 3. To fix this problem I just had to replace admin_static whith static in constance/templates/admin/constance/includes/results_list.html and constance/templates/admin/constance/change_list.html
The text was updated successfully, but these errors were encountered:
Describe the problem
Trying to access the constance objects in Django 3.0.1 admin fails with
Steps to reproduce
Install constance and try to access it in the Django admin
System configuration
The staticfiles and admin_static template tag libraries are removed in Django 3. To fix this problem I just had to replace
admin_static
whithstatic
inconstance/templates/admin/constance/includes/results_list.html
andconstance/templates/admin/constance/change_list.html
The text was updated successfully, but these errors were encountered: