- Language: en
75 results for dates and times in version 1.11
-
Settings
- … date format strings . See also DATETIME_FORMAT , TIME_FORMAT and SHORT_DATE_FORMAT . DATE_INPUT …
-
Django 1.6 release notes
- … time zone support is active. Use QuerySet.datetimes() instead. date_hierarchy requires time zone definitions The date …
-
QuerySet API reference
- … date__time = datetime . time ( 14 , 30 )) Entry . objects . filter ( pub_date__time__range = ( datetime . time …
-
Built-in template tags and filters
- … date | date :"j" }} </ a > {% endfor %} If given one or more variables, check whether any variable has changed. For example, the following shows the date every time …
-
Django 1.2 release notes
- … date formats, instead of writing this: from django.utils.translation import get_date_formats date_format , datetime_format , time …
-
Writing your first Django app, part 5
- … time = timezone . now () + datetime . timedelta ( days = 30 ) future_question = Question ( pub_date = time ) self . assertIs …
-
Database Functions
- … date up to kind which allows grouping or filtering dates with less precision. expression can have an output_field of either DateField or DateTimeField . Since DateField s don’t have a time …
-
Time zones
- … time objects and will raise an exception if you attempt to save an aware time object, as a timezone for a time with no associated date …
-
Django Utils
- … date ( epoch_seconds=None ) [source] Formats the time to match the RFC 1123 date format …
-
Widgets
- … date and time split into two separate values: from django.forms import MultiWidget class SplitDateTimeWidget ( MultiWidget …