pks: Fix compatibility with Django 1.7 (mimetype->content_type)
wiki: Fix compatibility with Django 1.7 (mimetype->content_type)