検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 74 for datetime (0.070 sec.)
はじめての Django アプリ作成、その 5 — Django 4.0.6 ドキュメント 6966
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... anage.py shell ...\> py manage.py shell >>> import datetime >>> from django.utils import timezone >>> from pol ... estion = Question ( pub_date = timezone . now () + datetime . timedelta ( days = 30 )) >>> # was it published ... イルに次のコードを書きます。 polls/tests.py ¶ import datetime from django.test import TestCase from django.utils ... e is in the future. """ time = timezone . now () + datetime . timedelta ( days = 30 ) future_question = Questi ...
https://man.plustar.jp/django/intro/tutorial05.html - [similar]
フォーム API — Django 4.0.6 ドキュメント 6966
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ith callables whose return values can change (e.g. datetime.now or uuid.uuid4 ): >>> import uuid >>> class UUI ... です。 たとえば、 DateField はインプットを Python の datetime.date オブジェクトに正規化します。たとえ '1994-07-1 ... 5' という形式の文字列で渡そうが、 datetime.date オブジェクトを渡そうが、他の様々な形式で渡そう ... が、それが検証にパスする限り DateField はいつも datetime.date オブジェクトに正規化します。 あるデータのセッ ...
https://man.plustar.jp/django/ref/forms/api.html - [similar]
Django 1.4 release notes — Django 4.0.6 ドキュメント 6966
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ation in UTC in the database, uses time-zone-aware datetime objects internally and translates them to the end ... d time display for users around the world. Storing datetimes in UTC for database portability and interoperabil ... カル化 : e -- the name of the timezone of the given datetime object o -- the ISO 8601 year number Please make s ... he behavior of CommonMiddleware . Serialization of datetime and time ¶ As a consequence of time-zone support, ...
https://man.plustar.jp/django/releases/1.4.html - [similar]
Django 1.2 リリースノート — Django 4.0.6 ドキュメント 6910
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ned two new format characters: c to specify that a datetime value should be formatted in ISO 8601 format, and ... u that allows output of the microseconds part of a datetime or time value. These are also available in others ... .translation import get_date_formats date_format , datetime_format , time_format = get_date_formats () ...use: ... te_format = formats . get_format ( 'DATE_FORMAT' ) datetime_format = formats . get_format ( 'DATETIME_FORMAT' ...
https://man.plustar.jp/django/releases/1.2.html - [similar]
条件付きビュー — Django 4.0.6 ドキュメント 6910
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... passed last_modified_func should return a standard datetime value specifying the last time the resource was mo ... f models, representing a small blog system: import datetime from django.db import models class Blog ( models . ... n_delete = models . CASCADE ) published = models . DateTimeField ( default = datetime . datetime . now ) ... I ...
https://man.plustar.jp/django/topics/conditional-view-processing.html - [similar]
Django 1.5.5 release notes — Django 4.0.6 ドキュメント 6869
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... fixed. Bugfixes ¶ Fixed a data corruption bug with datetime_safe.datetime.combine (#21256). Fixed a Python 3 i ...
https://man.plustar.jp/django/releases/1.5.5.html - [similar]
Django 1.9 リリースノート — Django 4.0.6 ドキュメント 6813
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... E option for interacting with databases that store datetimes in local time and don't support time zones when U ... , such as DurationField . Added the date lookup to DateTimeField to allow querying the field by only the date ... e DB-API module to handle time zone information of datetime values passed as query parameters or returned as q ... braries. The recommended way to add a time zone to datetime values fetched from the database is to register a ...
https://man.plustar.jp/django/releases/1.9.html - [similar]
Django 1.4 documentation 6715
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ss Article ( models . Model ): pub_date = models . DateTimeField () headline = models . CharField ( max_length ... eate an article. # Article を作成します。 >>> from datetime import datetime >>> a = Article ( pub_date = datet ... ss Article ( models . Model ): pub_date = models . DateTimeField () headline = models . CharField ( max_length ... のものです。この例では、フィルタに よって Python の datetime オブジェクトを指定の形式にフォーマットしています ( ...
https://man.plustar.jp/django/contents.html - [similar]
Django 3.2 release notes — Django 4.0.6 ドキュメント 6715
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... vided value for bool , bytes , float , int , str , datetime.date , datetime.datetime , datetime.time , datetim ... and TruncTime database functions allows truncating datetimes in a specific timezone. The new db_collation argu ...
https://man.plustar.jp/django/releases/3.2.html - [similar]
Django 3.1 release notes — Django 4.0.6 ドキュメント 6660
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ing relationship choices for details. django.forms.DateTimeField now accepts dates in a subset of ISO 8601 dat ... lways be retained if provided, with timezone-aware datetimes being returned even when USE_TZ is False . Additi ... onally, DateTimeField now uses DATE_INPUT_FORMATS in addition to DA ... E_INPUT_FORMATS when converting a field input to a datetime value. MultiWidget.widgets now accepts a dictionar ...
https://man.plustar.jp/django/releases/3.1.html - [similar]
PREV 1 2 3 4 5 6 7 8 NEXT