django-templatesadmin
django-templatesadmin copied to clipboard
Django 1.4 compatibility
Integrated latest messages framework, removed ADMIN_MEDIA_PREFIX
Thank you.
'ADMIN_MEDIA_PREFIX': settings.STATIC_URL + '/admin/',
That won't work everywhere, please use the admin urlpatterns.
I don't activly maintain this project, I'll merge pulls if they're ok. If you want to take over the project let me know.
The most safe way to make ADMIN_MEDIA_PREFIX backward-compatible would probably be something like:
from django.contrib.admin.templatetags.admin_static import static
admin_static = getattr(settings, "ADMIN_MEDIA_PREFIX", static("admin"))
Can we rely on it? I will think about taking over the project, generally I like the idea.