All the gory details about all the field options Django’s got to offer.
Popularity (by total correct streak): 0
Popularity (by number of users): 0
If True, Django will store empty values as NULL in the database. Default is False. | null | |
If True, the field is allowed to be blank. Default is False. | blank | |
An iterable (e.g., a list or tuple) of 2-tuples to use as choices for this field. | choices | |
The name of the database column to use for this field. If this isn't given, Django will use the field's name. | db_column | |
If True, djadmin:django-admin.py sqlindexes <sqlindexes> will output a CREATE INDEX statement for this field. | db_index | |
The name of the database tablespace to use for this field's index, if this field is indexed. | db_tablespace | |
The default value for the field. This can be a value or a callable object. If callable it will be called every time a new object is created. | default | |
If False, the field will not be editable in the admin or via forms automatically generated from the model class. Default is True. | editable | |
Lets you override the default messages that the field will raise. Pass in a dictionary with keys matching the error messages you want to override. | error_messages | |
Extra "help" text to be displayed under the field on the object's admin form. | help_text | |
If True, this field is the primary key for the model. | primary_key | |
If True, this field must be unique throughout the table. | unique | |
Set this to the name of a DateField or DateTimeField to require that this field be unique for the value of the date field. | unique_for_date | |
Like unique_for_date, but requires the field to be unique with respect to the month. | unique_for_month | |
Like unique_for_date and unique_for_month. | unique_for_year | |
A human-readable name for the field. If the verbose name isn't given, Django will automatically create it using the field's attribute name, converting underscores to spaces. | verbose_name | |
A list of validators to run for this field. | validators |
Quisition is a browser-based flashcard system that repeats old cards and introduces new ones at optimal time intervals. You can create your own card packs or use those developed by others.