Give BlogDetailView an owner_class property

This way you can reuse its get_object method
give published filter a model attribute