fix for django-cms 3.1