fix case when content type model_class is None
Merge pull request #12 from horva/update

fix case when content type model_class is None