added compatibiltiy for django-cms