検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 111 for date (0.005 sec.)
Date-based mixins — Django 4.0.6 ドキュメント 11213
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ontents | Index | Modules « previous | up | next » Date-based mixins ¶ 注釈 All the date formatting attrib ... vide parsing information for a year component of a date. メソッドと属性 year_format ¶ The strftime() forma ... d year specification can be found. get_next_year ( date ) ¶ Returns a date object containing the first day ... of the year after the date provided. This function can also return None or ra ...
https://man.plustar.jp/django/ref/class-based-views/mixins-date-based.html - [similar]
Generic date ビュー — Django 4.0.6 ドキュメント 10757
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... | Index | Modules « previous | up | next » Generic date ビュー ¶ 日付ベースの汎用ビュー ( django.views.gen ... eric.dates 内で提供されています) は、日付ベースのデータのため ... itle = models . CharField ( max_length = 200 ) pub_date = models . DateField () def get_absolute_url ( sel ... ic.base.TemplateResponseMixin django.views.generic.dates.BaseArchiveIndexView django.views.generic.dates.B ...
https://man.plustar.jp/django/ref/class-based-views/generic-date-based.html - [similar]
フォームセット (Formset) — Django 4.0.6 ドキュメント 10655
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... . Form ): ... title = forms . CharField () ... pub_date = forms . DateField () このフォームを使って、ユーザ ... itle"></td></tr> <tr><th><label for="id_form-0-pub_date">Pub date:</label></th><td><input type="text" name ... ="form-0-pub_date" id="id_form-0-pub_date"></td></tr> As you can see ... 、ということです。以下の例を見てください: >>> import datetime >>> from django.forms import formset_factory > ...
https://man.plustar.jp/django/topics/forms/formsets.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 10199
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... れ、全体が NOT() によって囲まれます。 この例では pub_date が 2005-1-3より新しく、 headline が "Hello" である ... ーを除外しています: Entry . objects . exclude ( pub_date__gt = datetime . date ( 2005 , 1 , 3 ), headline = ... 、次のように評価されます: SELECT ... WHERE NOT ( pub_date > '2005-1-3' AND headline = 'Hello' ) この例では p ... ub_date が 2005-1-3より新しいか、 headline が "Hello" であ ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
Database Functions — Django 4.0.6 ドキュメント 9642
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ct database type: >>> from django.db.models import DateTimeField >>> from django.db.models.functions impor ... zone >>> now = timezone . now () >>> Coalesce ( 'updated' , Cast ( now , DateTimeField ())) Collate ¶ clas ... : body = models . TextField () modified = models . DateTimeField ( auto_now = True ) class Comment ( model ... : body = models . TextField () modified = models . DateTimeField ( auto_now = True ) blog = models . Forei ...
https://man.plustar.jp/django/ref/models/database-functions.html - [similar]
クエリを作成する — Django 4.0.6 ドキュメント 9566
" + 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 ... ngth = 255 ) body_text = models . TextField () pub_date = models . DateField () mod_date = models . DateFi ... eld ( default = date . today ) authors = models . ManyToManyField ( Aut ... e = 'New name' >>> b5 . save () この例では内部で UPDATE SQL 文が処理されます。明示的に save() が呼ばれるま ...
https://man.plustar.jp/django/topics/db/queries.html - [similar]
Conditional Expressions — Django 4.0.6 ドキュメント 8729
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... c within filters, annotations, aggregations, and updates. A conditional expression evaluates a series of c ... Field ( max_length = 50 ) registered_on = models . DateField () account_type = models . CharField ( max_le ... ou can use field lookups in the condition >>> from datetime import date >>> When ( registered_on__gt = dat ... e ( 2014 , 1 , 1 ), ... registered_on__lt = date ( 2015 , 1 , 1 ), ... then = 'account_type' ) >>> ...
https://man.plustar.jp/django/ref/models/conditional-expressions.html - [similar]
Django 1.7.11 release notes — Django 4.0.6 ドキュメント 8691
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... bug in 1.7.10. Fixed settings leak possibility in date template filter ¶ If an application allows users t ... o specify an unvalidated format for dates and passes this format to the da ... te filter, e.g. {{ last_updated|date:user_date_format }} , then a malicious user ... settings by specifying a settings key instead of a date format. e.g. "SECRET_KEY" instead of "j/m/Y" . To ...
https://man.plustar.jp/django/releases/1.7.11.html - [similar]
django.utils.http — Django 4.0.6 ドキュメント 8527
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ngo.utils.http のソースコード import base64 import datetime import re import unicodedata from binascii imp ... ror as BinasciiError from email.utils import formatdate from urllib.parse import ( ParseResult , SplitResu ... d {2} ):(?P<min>\d {2} ):(?P<sec>\d {2} )" RFC1123_DATE = _lazy_re_compile ( r "^\w {3} , %s %s %s %s GMT$ ... " % ( __D , __M , __Y , __T )) RFC850_DATE = _lazy_re_compile ( r "^\w{6,9}, %s - %s - %s %s ...
https://man.plustar.jp/django/_modules/django/utils/http.html - [similar]
クラスベース汎用ビュー - フラットインデックス — Django 4.0.6 ドキュメント 8349
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... owed() post() put() render_to_response() setup() UpdateView ¶ class UpdateView ¶ 属性 (と省略可能な継承元) ... context_object_name [ get_context_object_name() ] date_field [ get_date_field() ] extra_context http_meth ... as_view() dispatch() get() get_context_data() get_date_list() get_dated_items() get_dated_queryset() get_ ... context_object_name [ get_context_object_name() ] date_field [ get_date_field() ] extra_context http_meth ...
https://man.plustar.jp/django/ref/class-based-views/flattened-index.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT