db.models.Field.unique_for_month

Field.unique_for_month Like unique_for_date, but requires the field to be unique with respect to the month.

2016-10-09 18:35:31
db.models.fields.files.FieldFile

class FieldFile [source] When you access a FileField on a model, you are given

2016-10-09 18:35:32
db.models.ImageField.width_field

ImageField.width_field Name of a model field which will be auto-populated with the width of the image each time the model instance

2016-10-09 18:35:48
db.models.DateField.auto_now_add

DateField.auto_now_add Automatically set the field to now when the object is first created. Useful for creation of timestamps

2016-10-09 18:35:16
db.models.fields.files.FieldFile.save()

FieldFile.save(name, content, save=True) [source] This method takes a filename and file contents

2016-10-09 18:35:33
db.models.ForeignKey.swappable

ForeignKey.swappable Controls the migration framework’s reaction if this ForeignKey is pointing at a swappable

2016-10-09 18:35:40
db.models.Field.null

Field.null If True, Django will store empty values as NULL in the database. Default is False

2016-10-09 18:35:28
db.models.Field.help_text

Field.help_text Extra “help” text to be displayed with the form widget. It’s useful for documentation even if your field isn’t

2016-10-09 18:35:26
db.models.Field.auto_created

Field.auto_created Boolean flag that indicates if the field was automatically created, such as the OneToOneField

2016-10-09 18:35:21
db.models.SET()

SET() [source] Set the ForeignKey to the value passed to SET()

2016-10-09 18:36:21