- Language: en
68 results for dates and times in version 1.8
-
Form fields
- … date , invalid_time Takes two optional arguments: input_date_formats A list of formats used …
-
Django 1.7 release notes
- … times with different querysets. See prefetch_related() for more details. Admin shortcuts support time zones The “today” and “now” shortcuts next to date …
-
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 …
-
QuerySet API reference
- … date = models . DateField () Event . objects . order_by ( 'children__date' ) Here, there could potentially be multiple ordering data for each Event ; each Event with multiple children will be returned multiple times …
-
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 …
-
Writing views
- … date and time, as an HTML document: from django.http import HttpResponse import datetime def current …
-
Internationalization and localization
- … dates, times and numbers , and time zones . Essentially, Django does two things: It allows developers …
-
Conditional View Processing
- … date of the last modification time it was sent, or either If-match or If-none …
-
Custom template tags and filters
- … date-time: < p > This post was last updated at {% format_time blog_entry.date_updated …