検索

phrase: max: clip:
target: order:
Results of 31 - 40 of about 111 for date (0.067 sec.)
Django の概要 — Django 4.0.6 ドキュメント 6639
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... . full_name class Article ( models . Model ): pub_date = models . DateField () headline = models . CharFi ... ery does not exist . # Create an article. >>> from datetime import date >>> a = Article ( pub_date = date ... mport models class Article ( models . Model ): pub_date = models . DateField () headline = models . CharFi ... year ): a_list = Article . objects . filter ( pub_date__year = year ) context = { 'year' : year , 'articl ...
https://man.plustar.jp/django/intro/overview.html - [similar]
はじめての Django アプリ作成、その2 — Django 4.0.6 ドキュメント 6601
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... デルを作成します。 Poll には question と publication date の情報があります。 Choice には選択肢のテキストと v ... text = models . CharField ( max_length = 200 ) pub_date = models . DateTimeField ( 'date published' ) clas ... ています。例えば、 CharField は文字のフィールドで、 DateTimeField は日時フィー ルドです。こうしたクラスは、 ... インスタンスそれぞれの名前(例: question_text や pub_date )は、機械可読なフィールド名です。このフィールド名は ...
https://man.plustar.jp/django/intro/tutorial02.html - [similar]
Generic display ビュー — Django 4.0.6 ドキュメント 6563
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... .reporter }} </ p > < p > Published: {{ object.pub_date | date }} </ p > < p > Date: {{ now | date }} </ p ... or article in object_list %} < li > {{ article.pub_date | date }} - {{ article.headline }} </ li > {% empt ... リスト , オブジェクト , myapp クイック検索 Last update: 2022年6月01日 « previous | up | next » ...
https://man.plustar.jp/django/ref/class-based-views/generic-display.html - [similar]
クラスベースビュー mixin — Django 4.0.6 ドキュメント 6563
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ject mixins Multiple object mixins mixinを編集する Date-based mixins 前のトピックへ Generic date ビュー 次 ... revious , up , next , Multiple , 検索 , クイック , date クイック検索 Last update: 2022年6月01日 « previous ...
https://man.plustar.jp/django/ref/class-based-views/mixins.html - [similar]
Django 1.4 release notes — Django 4.0.6 ドキュメント 6563
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Django 1.4 is support for time zones when handling date/times. When enabled, this Django will store date/t ... number of ORM improvements, including SELECT FOR UPDATE support , the ability to bulk insert large dataset ... ements , and simple clickjacking protection . An updated default project layout and manage.py that removes ... zones ¶ In previous versions, Django used "naive" date/times (that is, date/times without an associated t ...
https://man.plustar.jp/django/releases/1.4.html - [similar]
ウィジェット — Django 4.0.6 ドキュメント 6461
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... トを定義する際にセットできます。以下の例では、 SelectDateWidget に対して years 属性がセットされます: from dj ... SimpleForm ( forms . Form ): birth_year = forms . DateField ( widget = forms . SelectDateWidget ( years = ... t = forms . CharField () name . widget . attrs . update ({ 'class' : 'special' }) comment . widget . attrs ... . update ( size = '40' ) Or if the field isn't declared dir ...
https://man.plustar.jp/django/ref/forms/widgets.html - [similar]
Form fields — Django 4.0.6 ドキュメント 6423
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nstant, you can also pass any callable: >>> import datetime >>> class DateForm ( forms . Form ): ... day = ... forms . DateField ( initial = datetime . date . today ) >>> pri ... nt ( DateForm ()) <tr><th>Day:</th><td><input type="text" na ... e Normalizes to: A Python True or False value. Validates that the value is True (e.g. the check box is che ...
https://man.plustar.jp/django/ref/forms/fields.html - [similar]
索引 — Django 4.0.6 ドキュメント 6360
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... allow_distinct (Aggregate の属性) allow_empty (BaseDateListView の属性) (django.views.generic.list.Multipl ... folders (FilePathField の属性) , [1] allow_future (DateMixin の属性) allow_migrate() allow_relation() allo ... n のクラス) ArchiveIndexView (django.views.generic.dates のクラス) (組み込みクラス) Area (django.contrib.g ... ns のクラス) as_data() (Form.errors のメソッド) as_datetime() (Field のメソッド) as_double() (Field のメソ ...
https://man.plustar.jp/django/genindex.html - [similar]
How to create custom template tags and filters — Django 4.0.6 ドキュメント 6360
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... es ¶ If you write a custom filter that operates on datetime objects, you'll usually register it with the e ... first argument to your filter is a time zone aware datetime, Django will convert it to the current time zo ... ime 関数は、以下のように書くことができます: import datetime from django import template register = templat ... ple_tag def current_time ( format_string ): return datetime . datetime . now () . strftime ( format_string ...
https://man.plustar.jp/django/howto/custom-template-tags.html - [similar]
Django Utils — Django 4.0.6 ドキュメント 6322
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... response ) ¶ Adds an Expires header to the current date/time. Adds a Cache-Control: max-age=0, no-cache, n ... o-store, must-revalidate, private header to a response to indicate that a p ... ary_headers ( response , newheaders ) ¶ Adds (or updates) the Vary header in the given HttpResponse object ... of headers to use for the cache key. django.utils.dateparse ¶ The functions defined in this module share ...
https://man.plustar.jp/django/ref/utils.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 NEXT