- Language: en
21 results for dates and times in version 3.2
-
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 …
-
Format localization
- … dates, times and numbers in templates using the format specified for the current locale . It also …
-
Translation
- … DATE_FORMAT DATE_INPUT_FORMATS DATETIME_FORMAT DATETIME_INPUT_FORMATS DECIMAL_SEPARATOR FIRST_DAY_OF_WEEK MONTH_DAY_FORMAT NUMBER_GROUPING SHORT_DATE_FORMAT SHORT_DATETIME_FORMAT THOUSAND_SEPARATOR 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 …
-
Serializing Django objects
- … date A string of the form YYYY-MM-DD as defined in ECMA-262 . time …
-
How to use sessions
- … time the session was modified . get_expiry_age () Returns the number of seconds until this session expires. For sessions with no custom expiration (or those set to expire at browser close), this will equal SESSION …
-
Working with forms
- … times before concluding the operation. We might require some validation to occur in the browser, even before the form is submitted; we might want to use much more complex fields, that allow the user …
-
Making queries
- … date__gte = datetime . date . today () ... ) . filter ( ... pub_date__gte = datetime . date ( 2005 , 1 , 30 ) ... ) This takes the initial QuerySet of all entries in the database, adds a filter, then an exclusion, then another filter …