検索

phrase: max: clip:
target: order:
Results of 31 - 40 of about 74 for datetime (0.034 sec.)
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 6618
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... TimestampSigner.unsign() method now also accepts a datetime.timedelta object. データベースバックエンド ¶ The M ... ySQL backend no longer strips microseconds from datetime values as MySQL 5.6.4 and up supports fractional s ... econds depending on the declaration of the datetime field (when DATETIME includes fractional precision ... greater than 0). New datetime database columns created with Django 1.8 and MySQL ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
暗号署名 — Django 4.0.6 ドキュメント 6618
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... reated within a specified period of time: >>> from datetime import timedelta >>> from django.core.signing impo ... . The max_age parameter can accept an integer or a datetime.timedelta object. sign_object ( obj , serializer = ... . The max_age parameter can accept an integer or a datetime.timedelta object. Protecting complex data structur ...
https://man.plustar.jp/django/topics/signing.html - [similar]
データベース — Django 4.0.6 ドキュメント 6562
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... y length". Fractional seconds support for Time and DateTime fields ¶ MySQL can store fractional seconds, provi ... definition includes a fractional indication (e.g. DATETIME(6) ). Django will not upgrade existing columns to ... ommand like: ALTER TABLE `your_table` MODIFY `your_datetime_column` DATETIME(6) or using a RunSQL operation in ... d data corruption. inspectdb maps these columns to DateTimeField and if you enable timezone support, both MySQ ...
https://man.plustar.jp/django/ref/databases.html - [similar]
Django 4.0 release notes — Django 4.0.6 ドキュメント 6562
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... . Selection of the current timezone, conversion of datetime instances to the current timezone in forms and tem ... plates, as well as operations on aware datetimes in UTC are unaffected. However, if you are workin ... bounds_for_date_field() and year_lookup_bounds_for_datetime_field() methods now take the optional iso_year arg ... fo , django.utils.timezone.utc is changed to alias datetime.timezone.utc . The minimum supported version of as ...
https://man.plustar.jp/django/releases/4.0.html - [similar]
クエリを作成する — Django 4.0.6 ドキュメント 6562
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ng models, which comprise a blog application: from datetime import date from django.db import models class Blo ... ith = 'What' ... ) . exclude ( ... pub_date__gte = datetime . date . today () ... ) . filter ( ... pub_date__g ... te = datetime . date ( 2005 , 1 , 30 ) ... ) これはデータベース内 ... = "What" ) >>> q2 = q1 . exclude ( pub_date__gte = datetime . date . today ()) >>> q3 = q1 . filter ( pub_date ...
https://man.plustar.jp/django/topics/db/queries.html - [similar]
マイグレーション — Django 4.0.6 ドキュメント 6562
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... one , NoneType list , set , tuple , dict , range . datetime.date , datetime.time , datetime.datetime インスタン ... ールド 任意の関数またはメソッドへのリファレンス (例: datetime.datetime.today ) (ただし、モジュールのトップレベル ...
https://man.plustar.jp/django/topics/migrations.html - [similar]
PostgreSQL specific model fields — Django 4.0.6 ドキュメント 6506
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ange in the database and a NumericRange in Python. DateTimeRangeField ¶ class DateTimeRangeField ( ** options ... ) ¶ Stores a range of timestamps. Based on a DateTimeField . Represented by a tstzrange in the database ... and a DateTimeTZRange in Python. DateRangeField ¶ class DateRange ... 200 ) ages = IntegerRangeField () start = models . DateTimeField () def __str__ ( self ): return self . name W ...
https://man.plustar.jp/django/ref/contrib/postgres/fields.html - [similar]
ウィジェット — Django 4.0.6 ドキュメント 6506
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ルト値にする属性です。 False にセットされた場合は、 datetime と time のマイクロ秒の部分の値は、 0 にセットされま ... た値を "分割する" 必要があることです。 以下は、 SplitDateTimeWidget が どのように SplitDateTimeWidget の値を 2 つ ... す: from django.forms import MultiWidget class SplitDateTimeWidget ( MultiWidget ): # ... def decompress ( self ... て、 value_from_datadict() が実行されています: from datetime import date from django import forms class DateSel ...
https://man.plustar.jp/django/ref/forms/widgets.html - [similar]
Django 1.10 リリースノート — Django 4.0.6 ドキュメント 6506
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... get_modified_time() . They return a timezone-aware datetime if USE_TZ is True and a naive datetime in the loca ... t parent class. Added Extract functions to extract datetime components as integers, such as year and hour. Add ... ed Trunc functions to truncate a date or datetime to a significant component. They enable queries li ... expressions django.db.models.expressions.Date and DateTime are removed. The new Trunc expressions provide the ...
https://man.plustar.jp/django/releases/1.10.html - [similar]
Django 3.0 リリースノート — Django 4.0.6 ドキュメント 6506
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... mpile. showmigrations --list now shows the applied datetimes when --verbosity is 2 and above. On PostgreSQL, d ... ermines the treatment of nonexistent and ambiguous datetimes. connection.queries now shows COPY … TO statement ... s_from_bulk_insert . Database functions now handle datetime.timezone formats when created using datetime.timed ... backends should handle this format when preparing DateTimeField in datetime_cast_date_sql() , datetime_extrac ...
https://man.plustar.jp/django/releases/3.0.html - [similar]
PREV 1 2 3 4 5 6 7 8 NEXT