compatibility with django-1.5 < side2k