Fix deprication warning for compressor 1.3 and django >= 1.5