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

load admin_static has been removed in Django 3.0 #366

Closed
flurl opened this issue Jan 4, 2020 · 0 comments
Closed

load admin_static has been removed in Django 3.0 #366

flurl opened this issue Jan 4, 2020 · 0 comments

Comments

@flurl
Copy link

flurl commented Jan 4, 2020

Describe the problem

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

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