検索

phrase: max: clip:
target: order:
Results of 1 - 8 of about 8 for Publication (0.020 sec.)
多対多 (many-to-many) 関係 — Django 4.0.6 ドキュメント 13790
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s example, an Article can be published in multiple Publication objects, and a Publication has multiple Article ob ... jects: from django.db import models class Publication ( models . Model ): title = models . CharField ( m ... headline = models . CharField ( max_length = 100 ) publications = models . ManyToManyField ( Publication ) class ... rmed using the Python API facilities. Create a few Publications : >>> p1 = Publication ( title = 'The Python Jour ...
https://man.plustar.jp/django/topics/db/examples/many_to_many.html - [similar]
The sitemap framework — Django 4.0.6 ドキュメント 8711
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... itemap's items() would return a list of items with publication_data and a tags field something like this would ge ... </priority> {% endif %} <news:news> {% if url.item.publication_date %} <news:publication_date> {{ url.item.public ... ation_date | date :"Y-m-d" }} </news:publication_date> {% endif %} {% if url.item.tags %} <news:key ...
https://man.plustar.jp/django/ref/contrib/sitemaps.html - [similar]
クラスベースビュー — Django 4.0.6 ドキュメント 8458
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ): last_book = self . get_queryset () . latest ( 'publication_date' ) response = HttpResponse ( # RFC 1123 date ... format. headers = { 'Last-Modified' : last_book . publication_date . strftime ( ' %a , %d %b %Y %H:%M:%S GMT' )} ...
https://man.plustar.jp/django/topics/class-based-views/index.html - [similar]
モデルインスタンスリファレンス — Django 4.0.6 ドキュメント 8422
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... alidationError ( _ ( 'Draft entries may not have a publication date.' )) # Set the pub_date for published items i ... ({ 'pub_date' : _ ( 'Draft entries may not have a publication date.' )}) ... Model.clean() 実施中に複数フィールド ... alidationError ( _ ( 'Draft entries may not have a publication date.' ) ) else : raise ValidationError ({ 'status ... ' : _ ( 'Set status to draft if there is not a ' 'publication date.' ), }) Model. validate_unique ( exclude = No ...
https://man.plustar.jp/django/ref/models/instances.html - [similar]
ビルトインのクラスベースのジェネリックビュー — Django 4.0.6 ドキュメント 8296
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... gnKey ( Publisher , on_delete = models . CASCADE ) publication_date = models . DateField () 次に、ビューを定義しま ... stView ): queryset = Book . objects . order_by ( '-publication_date' ) context_object_name = 'book_list' これはご ...
https://man.plustar.jp/django/topics/class-based-views/generic-display.html - [similar]
はじめての Django アプリ作成、その 7 — Django 4.0.6 ドキュメント 8205
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 渡すと いうパターンに従ってください。 上の例では、「Publication date」フィールドの表示位置を「Question」フィールド ...
https://man.plustar.jp/django/intro/tutorial07.html - [similar]
Django 1.4 documentation 8169
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 作成します。 poll には質問事項 (question) と公開日 (publication date) の情報があります。 choice には選択肢のテキス ... 渡すと いうパターンを使ってください。 上の例では、「Publication date」フィールドの表示位置を「Question」フィール ド ...
https://man.plustar.jp/django/contents.html - [similar]
はじめての Django アプリ作成、その2 — Django 4.0.6 ドキュメント 8169
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... の2つのモデルを作成します。 Poll には question と publication date の情報があります。 Choice には選択肢のテキスト ...
https://man.plustar.jp/django/intro/tutorial02.html - [similar]
PREV 1 NEXT