darklow / django-suit

Modern theme for Django admin interface
http://djangosuit.com/
Other
2.31k stars 701 forks source link

Fix #710 - Remove `admin_static` template tag in favor of `static` #711

Closed amureki closed 4 years ago

amureki commented 5 years ago

Hi,

this is my attempt to fix #710

admin_static tag was deprecated since 2.1 and before was representing the same static tag. So, I believe, we can safely replace it to remove deprecation warnings.

amureki commented 4 years ago

@darklow hey Kaspars!

Sorry to bother you. Do you think we can get this going? I now realised, I opened a patch against v2 branch, while it should be fixed in master. Do you want me to update it? I'd be happy to fix it in both branches!

Best, Rust

darklow commented 4 years ago

Merged in. @amureki @geceba Thank you.

CARocha commented 4 years ago

Hi, i am used django 2.2.13 and django suit 0.2.28 i still warning RemovedInDjango30Warning: {% load staticfiles %} is deprecated in favor of {% load static %}. RemovedInDjango30Warning,

any solution for this error, i need fix this warning please any advice!

Cheers