utils.timezone.get_default_timezone()
  • References/Python/Django/API/Django Utils

get_default_timezone() [source] Returns a

2025-01-10 15:47:30
http.HttpRequest.path_info
  • References/Python/Django/API/Request and response objects

HttpRequest.path_info Under some Web server configurations, the portion of the URL after the host name is split up into a script

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

class DayMixin [source] A mixin that can be used to retrieve and provide parsing information

2025-01-10 15:47:30
middleware.common.CommonMiddleware
  • References/Python/Django/API/Middleware

class CommonMiddleware [source] Adds a few conveniences for perfectionists:

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

path The absolute path to the directory whose contents you want listed. This directory must exist.

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

bilateral A boolean indicating whether this transformation should apply to both lhs and rhs. Bilateral

2025-01-10 15:47:30
utils.encoding.smart_bytes()
  • References/Python/Django/API/Django Utils

smart_bytes(s, encoding='utf-8', strings_only=False, errors='strict') [source] Returns a

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

LogEntry.user The user (an AUTH_USER_MODEL instance) who performed the action.

2025-01-10 15:47:30
db.models.functions.datetime.Trunc
  • References/Python/Django/API/Models/Database Functions

class Trunc(expression, kind, output_field=None, tzinfo=None, **extra) [source] Truncates

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

class HStoreField(**options) [source] A field for storing mappings of strings to strings

2025-01-10 15:47:30