utils.feedgenerator.SyndicationFeed.num_items()
  • References/Python/Django/API/Django Utils

num_items() [source]

2025-01-10 15:47:30
shortcuts.get_object_or_404()
  • References/Python/Django/Guides

get_object_or_404(klass, *args, **kwargs) [source] Calls

2025-01-10 15:47:30
flatpages.models.FlatPage
  • References/Python/Django/API/contrib packages/The flatpages app

class FlatPage Flatpages are represented by a standard Django model, which lives in

2025-01-10 15:47:30
core.files.images.ImageFile.height
  • References/Python/Django/API/File handling/The File object

height Height of the image in pixels.

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
gis.geos.GEOSGeometry.covers()
  • References/Python/Django/API/GEOS API

GEOSGeometry.covers(other) New in Django 1.10. Returns

2025-01-10 15:47:30
Form and field validation
  • References/Python/Django/API/Forms/Form and field validation

Form validation happens when the data is cleaned. If you want to customize this process, there are various places to make changes, each one serving a different purpose. Three

2025-01-10 15:47:30
forms.DecimalField.decimal_places
  • References/Python/Django/API/Forms/Form fields

decimal_places The maximum number of decimal places permitted.

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