name _ for fields in model django code example
Example 1: django models
Models in Django are classes that represent data base tables.
Example 2: django model fields list
from posts.model import BlogPost
all_fields = BlogPost._meta.fields
#or
all_fields = BlogPost._meta.get_fields()