Re: CachedStaticFilesStorage and Media definition in ModelAdmin and Form.

2011-08-23 Thread Jannis Leidel
On 23.08.2011, at 16:45, stan wrote: > I started using the new `CachedStaticFilesStorage', great job. > > Anyway, media defined in ModelAdmin must be wrapped with a call to the > `static()' function to be processed and get the md5 hash suffix : > > from django.contrib.admin.templatetags.admin_st

CachedStaticFilesStorage and Media definition in ModelAdmin and Form.

2011-08-23 Thread stan
Hi, I started using the new `CachedStaticFilesStorage', great job. Anyway, media defined in ModelAdmin must be wrapped with a call to the `static()' function to be processed and get the md5 hash suffix : from django.contrib.admin.templatetags.admin_static import static class MyModelAdmin(admin.S