django field type for holding integers code example
Example 1: django integer field example
integer = models.IntegerField(blank=True, null=True)
Example 2: django model fields list
from posts.model import BlogPost
all_fields = BlogPost._meta.fields
#or
all_fields = BlogPost._meta.get_fields()