- Language: en
20 results for dates and times in version 3.2
-
Settings
- … date format strings . See also DATETIME_FORMAT , TIME_FORMAT and SHORT_DATE_FORMAT . DATE_INPUT …
-
Built-in template tags and filters
- … TIME_FORMAT format specifier is used: {{ value | time }} is the same as: {{ value | time :"TIME_FORMAT" }} timesince Formats a date …
-
Widgets
- … date_format Similar to DateInput.format time_format Similar to TimeInput.format date_attrs time_attrs Similar …
-
Database Functions
- … Date functions We’ll be using the following model in examples of each function: class Experiment ( models . Model ): start_datetime = models . DateTimeField () start_date = models . DateField ( null = True , blank = True ) start_time …
-
Django Utils
- … date ( epoch_seconds = None ) [source] Formats the time to match the RFC 1123#section-5.2.14 date …
-
PostgreSQL specific database functions
- … date and time on the database server that the current transaction started. If you are not in a transaction …
-
Form fields
- … date , invalid_time Takes two optional arguments: input_date_formats A list of formats used …
-
Model field reference
- … time zone at the time the object gets saved. This is enforced by Model.validate_unique() during model validation but not at the database level. If any unique_for_date …
-
Date-based mixins
- … date_field The name of the DateField or DateTimeField in the QuerySet ’s model that the date-based archive should use to determine the list of objects to display on the page. When time …
-
The Django admin site
- … dates are in one month, it’ll show the day-level drill-down only. Note date_hierarchy uses QuerySet.datetimes() internally. Please refer to its documentation for some caveats when time …