検索

phrase: max: clip:
target: order:
Results of 41 - 50 of about 74 for datetime (0.077 sec.)
django.contrib.humanize — Django 4.0.6 ドキュメント 6464
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... い場合は DATE_FORMAT 設定に従います。 naturaltime ¶ datetime 値に対して、何時間(分、秒)前であったかを表わす文 ... 合は timesince フォーマットにフォールバックします。 datetime 値が未来である場合も、自動的に適切なフレーズが返り ...
https://man.plustar.jp/django/ref/contrib/humanize.html - [similar]
django.core.signing — Django 4.0.6 ドキュメント 6409
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... make use of all of them. """ import base64 import datetime import json import time import zlib from django.co ... if max_age is not None : if isinstance ( max_age , datetime . timedelta ): max_age = max_age . total_seconds ( ...
https://man.plustar.jp/django/_modules/django/core/signing.html - [similar]
The sitemap framework — Django 4.0.6 ドキュメント 6409
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... angefreq , and priority ). lastmod should return a datetime . There is no location method in this example, but ... return that object's last-modified date/time as a datetime . If it's an attribute, its value should be a date ...
https://man.plustar.jp/django/ref/contrib/sitemaps.html - [similar]
Related objects reference — Django 4.0.6 ドキュメント 6409
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... = 'Hello' , ... body_text = 'Hi' , ... pub_date = datetime . date ( 2005 , 1 , 1 ) ... ) # No need to call e. ... = 'Hello' , ... body_text = 'Hi' , ... pub_date = datetime . date ( 2005 , 1 , 1 ) ... ) >>> e . save ( force ...
https://man.plustar.jp/django/ref/models/relations.html - [similar]
Django 2.0 リリースノート — Django 4.0.6 ドキュメント 6409
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e new date_attrs and time_attrs arguments for SplitDateTimeWidget and SplitHiddenDateTimeWidget allow specifyi ... function to extract the quarter from DateField and DateTimeField , and exposed it through the quarter lookup. ... he TruncQuarter function to truncate DateField and DateTimeField to the first day of a quarter. Added the db_t ... rd-party database backends. The DatabaseOperations.datetime_cast_date_sql() , datetime_cast_time_sql() , datet ...
https://man.plustar.jp/django/releases/2.0.html - [similar]
Django's cache framework — Django 4.0.6 ドキュメント 6409
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... o pass any callable as a default value: >>> import datetime >>> cache . get_or_set ( 'some-timestamp-key' , da ... tetime . datetime . now ) datetime.datetime(2014, 12, 11, 0, 15, 49, ...
https://man.plustar.jp/django/topics/cache.html - [similar]
索引 — Django 4.0.6 ドキュメント 6367
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ns のクラス) as_data() (Form.errors のメソッド) as_datetime() (Field のメソッド) as_double() (Field のメソッド ... field lookup type template filter date_attrs (SplitDateTimeWidget の属性) date_field (DateMixin の属性) DATE_F ... ORMAT setting date_format (SplitDateTimeWidget の属性) date_hierarchy (ModelAdmin の属性) D ... tes() (django.db.models.query.QuerySet モジュール) DATETIME_FORMAT setting DATETIME_INPUT_FORMATS setting Date ...
https://man.plustar.jp/django/genindex.html - [similar]
クエリー式 — Django 4.0.6 ドキュメント 6367
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... h ExpressionWrapper : from django.db.models import DateTimeField , ExpressionWrapper , F Ticket . objects . an ... ( 'active_at' ) + F ( 'duration' ), output_field = DateTimeField ())) When referencing relational fields such ... , if possible. For example, passing an instance of datetime.datetime as value would default output_field to Da ... for posts published within the last day: >>> from datetime import timedelta >>> from django.utils import time ...
https://man.plustar.jp/django/ref/models/expressions.html - [similar]
モデルインスタンスリファレンス — Django 4.0.6 ドキュメント 6367
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... スする必要のガルバリデーションを実施できます: import datetime from django.core.exceptions import ValidationError ... d' and self . pub_date is None : self . pub_date = datetime . date . today () ただし、 Model.full_clean() と同 ... cation. For example, DateField fields use a Python datetime object to store data. Databases don't store dateti ... ous_by_FOO ( ** kwargs ) ¶ For every DateField and DateTimeField that does not have null=True , the object wil ...
https://man.plustar.jp/django/ref/models/instances.html - [similar]
Django 1.6 release notes — Django 4.0.6 ドキュメント 6367
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... limitation was lifted in Django 1.6. Use QuerySet.datetimes() to perform time zone aware aggregation on a Dat ... es with mysql_tzinfo_to_sql . Addition of QuerySet.datetimes() ¶ When the time zone support added in Django 1. ... ix this, Django 1.6 introduces a new API, QuerySet.datetimes() . This requires a few changes in your code. Que ... turns a list of date . It used to return a list of datetime . QuerySet.datetimes() returns a list of datetime ...
https://man.plustar.jp/django/releases/1.6.html - [similar]
PREV 1 2 3 4 5 6 7 8 NEXT