template.Context
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

class Context(dict_=None) [source] This class lives at django.template.Context

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

file The underlying

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

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

2025-01-10 15:47:30
gis.gdal.DataSource.layer_count
  • References/Python/Django/API/GDAL API

layer_count Returns the number of layers in the data source.

2025-01-10 15:47:30
postgres.fields.django.postgres.forms.BaseRangeField
  • References/Python/Django/API/PostgreSQL specific model fields

class django.contrib.postgres.forms.BaseRangeField Base class for form range fields.

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

using(alias) This method is for controlling which database the QuerySet will be evaluated against if you are using

2025-01-10 15:47:30
forms.Form.as_p()
  • References/Python/Django/API/Forms/The Forms API

Form.as_p() as_p() renders the form as a series of <p> tags, with each <p>

2025-01-10 15:47:30
views.generic.dates.MonthMixin.get_month()
  • References/Python/Django/API/Date-based mixins

get_month() [source] Returns the month for which this view will display data, as a string

2025-01-10 15:47:30
admin.InlineModelAdmin.model
  • References/Python/Django/API/contrib packages/The Django admin site

InlineModelAdmin.model The model which the inline is using. This is required.

2025-01-10 15:47:30
auth.models.User.has_perms()
  • References/Python/Django/API/contrib packages/django.contrib.auth

has_perms(perm_list, obj=None) Returns True if the user has each of the specified permissions, where each perm

2025-01-10 15:47:30