db.models.SlugField
  • References/Python/Django/API/Models/Model field reference

class SlugField(max_length=50, **options) [source] Slug

2025-01-10 15:47:30
db.models.ForeignKey.limit_choices_to
  • References/Python/Django/API/Models/Model field reference

ForeignKey.limit_choices_to Sets a limit to the available choices for this field when this field is rendered using a ModelForm

2025-01-10 15:47:30
db.models.Field.unique_for_date
  • References/Python/Django/API/Models/Model field reference

Field.unique_for_date Set this to the name of a DateField or DateTimeField to require that this field

2025-01-10 15:47:30
db.models.Lookup.process_rhs()
  • References/Python/Django/API/Models/Lookup API reference

process_rhs(compiler, connection) [source] Behaves the same way as process_lhs()

2025-01-10 15:47:30
db.models.Field.blank
  • References/Python/Django/API/Models/Model field reference

Field.blank If True, the field is allowed to be blank. Default is False. Note

2025-01-10 15:47:30
db.models.get_transform()
  • References/Python/Django/API/Models/Lookup API reference

get_transform(transform_name) Must return the lookup named transform_name. For instance, by returning self

2025-01-10 15:47:30
db.models.Options.db_table
  • References/Python/Django/API/Models/Model Meta options

Options.db_table The name of the database table to use for the model:

2025-01-10 15:47:30
db.models.options.Options.get_fields()
  • References/Python/Django/API/Models/Model _meta API

Options.get_fields(include_parents=True, include_hidden=False) [source] Returns a tuple of

2025-01-10 15:47:30
Models
  • References/Python/Django/API/Models

Model API reference. For introductory material, see Models. Model field reference

2025-01-10 15:47:30
db.models.output_field
  • References/Python/Django/API/Models/Lookup API reference

output_field Defines the type of class returned by the get_lookup() method. It must be a

2025-01-10 15:47:30