Pythonmodel field type quick query table
V = models. CharField (max_length = None [,
** Options]) # varchar
V = models. EmailField ([max_length = 75,
** Options]) # varchar
V = models. URLField ([verify_exists = True,
Max_length = 200, ** options]) # varchar
V = models. FileField (upload_to = None [,
Max_length = 100, ** options]) # varchar
# Upload_to specifies the format of the Save Directory,
V = models. ImageField (upload_to = None [, height_field = None,
Width_field = None, max_length = 100,
** Options])
V = models. IPAddressField ([** options]) # varchar
V = models. FilePathField (path = None [, match = None,
Recursive = False, max_length = 100,
** Options]) # varchar
V = models. SlugField ([max_length = 50,
** Options]) # varchar, tag, containing index
V = models. CommaSeparatedIntegerField (max_length = None [,
** Options]) # varchar
V = models. IntegerField ([** options]) # int
V = models. PositiveIntegerField ([** options]) # int
Positive integer
V = models. SmallIntegerField ([** options]) # smallint
V = models. PositiveSmallIntegerField ([** options]) # smallint
Positive integer
V = models. AutoField (** options) # int; auto-incrementing in Django Code
V = models. DecimalField (max_digits = None,
Decimal_places = None [,
** Options]) # decimal
V = models. FloatField ([** options]) # real
V = models. BooleanField (** options) # boolean or bit
V = models. NullBooleanField ([** options]) # you can set the null value on the bit field.
V = models. DateField ([auto_now = False,
Auto_now_add = False,
** Options]) # date
# Auto_now: The last modification date of the record; auto_now_add: the date when the record is added. The modification time does not change.
V = models. DateTimeField ([auto_now = False,
Auto_now_add = False,
** Options]) # datetime
V = models. TimeField ([auto_now = False,
Auto_now_add = False,
** Options]) # time
V = models. TextField ([** options]) # text
V = models. XMLField (schema_path = None [,
** Options]) # text
V = models. ForeignKey (othermodel [,
** Options]) # associate a foreign key with another model and create an associated index
V = models. ManyToManyField (othermodel [,
** Options]) # associate other models to create an association table.
V = models. OneToOneField (othermodel [,
Parent_link = False, ** options]) # One-to-one, field join table attribute