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

Broken image "src" for icons in admin for Django >= 1.9 #148

Closed
gpip opened this issue Mar 21, 2016 · 2 comments
Closed

Broken image "src" for icons in admin for Django >= 1.9 #148

gpip opened this issue Mar 21, 2016 · 2 comments

Comments

@gpip
Copy link
Contributor

gpip commented Mar 21, 2016

At templates/hstore_default_widget.html django_hstore links to admin/img/icon_addlink.gif and others, but Django 1.9 replaced those by svg ones.

For instance, in django_hstore you'll find <img src="{{ STATIC_URL }}admin/img/icon_addlink.gif" width="10" height="10" alt="{% trans 'Add Another' %}">

While Django expects something closer to <img src="{% static 'admin/img/icon-addlink.svg' %}" alt="{% trans 'Add Another' %}"/>

@nemesifier
Copy link
Member

Thx for reporting, send a patch if you can.

@nemesifier
Copy link
Member

Closed by #149 and 9ed1804

@nemesifier nemesifier changed the title Broken links for admin in Django 1.9 Broken image "src" for icons in admin for Django >= 1.9 Apr 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants