Fix export views when only queryset is specified in view class