Make django-log compatible with django 1.7 without breaking backwards compatibility.

https://github.com/Fantomas42/django-blog-zinnia/issues/342

It should work on django 1.6, please check before merge!