検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 46 for year (0.020 sec.)
Date-based mixins — Django 4.0.6 ドキュメント 12464
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... m the now template tag as they are not compatible. YearMixin ¶ class YearMixin ¶ A mixin that can be used ... to retrieve and provide parsing information for a year component of a date. メソッドと属性 year_format ¶ ... The strftime() format to use when parsing the year. By default, this is '%Y' . year ¶ Optional The va ... lue for the year, as a string. By default, set to None , which mean ...
https://man.plustar.jp/django/ref/class-based-views/mixins-date-based.html - [similar]
クラスベース汎用ビュー - フラットインデックス — Django 4.0.6 ドキュメント 11930
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ) paginate_queryset() render_to_response() setup() YearArchiveView ¶ class YearArchiveView ¶ 属性 (と省略可 ... name [ get_template_names() ] template_name_suffix year [ get_year() ] year_format [ get_year_format() ] メ ... name [ get_template_names() ] template_name_suffix year [ get_year() ] year_format [ get_year_format() ] メ ... k [ get_week() ] week_format [ get_week_format() ] year [ get_year() ] year_format [ get_year_format() ] メ ...
https://man.plustar.jp/django/ref/class-based-views/flattened-index.html - [similar]
Database Functions — Django 4.0.6 ドキュメント 10770
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 000321+00:00 , the built-in lookup_name s return: "year": 2015 "iso_year": 2015 "quarter": 2 "month": 6 "d ... e., a week starts on a Monday. The first week of a year is the one that contains the year's first Thursday ... has the majority (four or more) of its days in the year. The value returned is in the range 1 to 52 or 53. ... ad of the more verbose equivalent, e.g. use ExtractYear(...) rather than Extract(..., lookup_name='year') ...
https://man.plustar.jp/django/ref/models/database-functions.html - [similar]
URL ディスパッチャ — Django 4.0.6 ドキュメント 10709
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... views . special_case_2003 ), path ( 'articles/<int:year>/' , views . year_archive ), path ( 'articles/<int ... :year>/<int:month>/' , views . month_archive ), path ( ' ... articles/<int:year>/<int:month>/<slug:slug>/' , views . article_detai ... uld call the function views.month_archive(request, year=2005, month=3) . /articles/2003/ would match the f ...
https://man.plustar.jp/django/topics/http/urls.html - [similar]
Generic date ビュー — Django 4.0.6 ドキュメント 10496
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ul > これは、すべての記事 (article) を出力します。 YearArchiveView ¶ class YearArchiveView ¶ 与えられた年の ... mplateResponseMixin django.views.generic.dates.BaseYearArchiveView django.views.generic.dates.YearMixin dj ... ther to retrieve the full list of objects for this year and pass those to the template. If True , the list ... as datetime.datetime objects, in ascending order. year : A date object representing the given year. next_ ...
https://man.plustar.jp/django/ref/class-based-views/generic-date-based.html - [similar]
django.utils.http — Django 4.0.6 ドキュメント 9916
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... >[ \d]\d)" __M = r "(?P<mon>\w {3} )" __Y = r "(?P<year>\d {4} )" __Y2 = r "(?P<year>\d {2} )" __T = r "(? ... mat" % date ) try : tz = datetime . timezone . utc year = int ( m [ "year" ]) if year < 100 : current_year ... = datetime . datetime . now ( tz = tz ) . year current_century = current_year - ( current_year % ... 100 ) if year - ( current_year % 100 ) > 50 : # year that appear ...
https://man.plustar.jp/django/_modules/django/utils/http.html - [similar]
Django の概要 — Django 4.0.6 ドキュメント 9641
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... import views urlpatterns = [ path ( 'articles/<int:year>/' , views . year_archive ), path ( 'articles/<int ... :year>/<int:month>/' , views . month_archive ), path ( ' ... articles/<int:year>/<int:month>/<int:pk>/' , views . article_detail ) ... ると、 Django は news.views.article_detail(request, year=2005, month=5, pk=39323) のような関数呼び出しを行い ...
https://man.plustar.jp/django/intro/overview.html - [similar]
ウィジェット — Django 4.0.6 ドキュメント 8741
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... トできます。以下の例では、 SelectDateWidget に対して years 属性がセットされます: from django import forms BI ... RTH_YEAR_CHOICES = [ '1980' , '1981' , '1982' ] FAVORITE_CO ... ack' ), ] class SimpleForm ( forms . Form ): birth_year = forms . DateField ( widget = forms . SelectDateW ... idget ( years = BIRTH_YEAR_CHOICES )) favorite_colors = forms . ...
https://man.plustar.jp/django/ref/forms/widgets.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 8528
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ます。 実装例: Entry . objects . filter ( pub_date__year = 2005 ) . order_by ( '-pub_date' , 'headline' ) 上 ... a DateField of your model. kind should be either "year" , "month" , "week" , or "day" . Each datetime.dat ... he result list is "truncated" to the given type . "year" returns a list of all distinct year values for th ... e field. "month" returns a list of all distinct year/month values for the field. "week" returns a list ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
クエリを作成する — Django 4.0.6 ドキュメント 8467
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... に使用します。 Entry . objects . filter ( pub_date__year = 2006 ) デフォルトの manager クラスの場合、これは ... です。 Entry . objects . all () . filter ( pub_date__year = 2006 ) フィルターのチェーン ¶ 絞り込みを行った Q ... __headline__contains = 'Lennon' , entry__pub_date__year = 2008 ) Otherwise, to perform a more permissive q ... _contains = 'Lennon' ) . filter ( entry__pub_date__year = 2008 ) Suppose there is only one blog that has b ...
https://man.plustar.jp/django/topics/db/queries.html - [similar]
PREV 1 2 3 4 5 NEXT