Support up to wagtail 0.8
Use resolve_model_string to resolve post_model