django model types code example
Example 1: listing of django model types
See this link
https://www.webforefront.com/django/modeldatatypesandvalidation.html
Example 2: django model fields list
from posts.model import BlogPost
all_fields = BlogPost._meta.fields
#or
all_fields = BlogPost._meta.get_fields()