from posts.model import BlogPost all_fields = BlogPost._meta.fields #or all_fields = BlogPost._meta.get_fields()