Field.unique_for_month Like unique_for_date, but requires the field to be unique with respect to the month.
class FieldFile [source] When you access a FileField on a model, you are given
ImageField.width_field Name of a model field which will be auto-populated with the width of the image each time the model instance
DateField.auto_now_add Automatically set the field to now when the object is first created. Useful for creation of timestamps
FieldFile.save(name, content, save=True) [source] This method takes a filename and file contents
ForeignKey.swappable Controls the migration framework’s reaction if this ForeignKey is pointing at a swappable
Field.null If True, Django will store empty values as NULL in the database. Default is False
Field.help_text Extra “help” text to be displayed with the form widget. It’s useful for documentation even if your field isn’t
Field.auto_created Boolean flag that indicates if the field was automatically created, such as the OneToOneField
SET() [source] Set the ForeignKey to the value passed to SET()
Page 2 of 12