Results of 31 - 40 of about 60 for pk (0.077 sec.)
- Django の admin サイト — Django 4.0.6 ドキュメント 6674
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ド指定を変更リストが見つけられない場合、変更リストは pk を変更リストに追加します。これは結果の決定論的な順 ...
ィールドによって実行される場合、変更リストは name と pk でソートされます。テーブルのレコード数が多く、 nam ...
e と pk のインデックスがない場合は、パフォーマンスの低下を ...
" {% url opts | admin_urlname :'history' original.pk | admin_urlquote %} " class = "historylink" > {% t ...
-
https://man.plustar.jp/django/ref/contrib/admin/index.html
- [similar]
- contenttypes フレームワーク — Django 4.0.6 ドキュメント 6674
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
this method over the usual ContentType.objects.get(pk=id) get_for_model ( model , for_concrete_model = T ...
>>> TaggedItem . objects . filter ( content_type__pk = bookmark_type . id , object_id__in = bookmarks ) ...
-
https://man.plustar.jp/django/ref/contrib/contenttypes.html
- [similar]
- QuerySet API リファレンス — Django 4.0.6 ドキュメント 6674
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
log_id in this case) or the referenced one ( blog__pk ) to make sure both expressions match. values() ¶ ...
. values_list ( 'headline' , flat = True ) . get ( pk = 1 ) 'First entry' values() and values_list() are ...
he object for that row: Entry . objects . filter ( pk = 1 ) . get () If get() doesn't find any object, i ...
k() ¶ in_bulk ( id_list = None , * , field_name = 'pk' ) ¶ Takes a list of field values ( id_list ) and ...
-
https://man.plustar.jp/django/ref/models/querysets.html
- [similar]
- Django 1.8.1 リリースノート — Django 4.0.6 ドキュメント 6674
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ample query is qs.annotate(foo=F('field')).values('pk').order_by('foo')) ( #24615 ). Fixed a database ta ...
-
https://man.plustar.jp/django/releases/1.8.1.html
- [similar]
- モデルからフォームを作成する — Django 4.0.6 ドキュメント 6674
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
g article. >>> article = Article . objects . get ( pk = 1 ) >>> form = ArticleForm ( instance = article ...
pulate the form. >>> a = Article . objects . get ( pk = 1 ) >>> f = ArticleForm ( request . POST , insta ...
す。例えば: >>> article = Article . objects . get ( pk = 1 ) >>> article . headline 'My headline' >>> for ...
t , author_id ): author = Author . objects . get ( pk = author_id ) BookInlineFormSet = inlineformset_fa ...
-
https://man.plustar.jp/django/topics/forms/modelforms.html
- [similar]
- Django の概要 — Django 4.0.6 ドキュメント 6573
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ve ), path ( 'articles/<int:year>/<int:month>/<int:pk>/' , views . article_detail ), ] 上のコードは、 UR ...
.views.article_detail(request, year=2005, month=5, pk=39323) のような関数呼び出しを行います。 ビューの自 ...
-
https://man.plustar.jp/django/intro/overview.html
- [similar]
- はじめての Django アプリ作成、その2 — Django 4.0.6 ドキュメント 6573
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
.objects.get(id=1). >>> Question . objects . get ( pk = 1 ) <Question: What's up?> # Make sure our custo ...
method worked. >>> q = Question . objects . get ( pk = 1 ) >>> q . was_published_recently () True # Giv ...
ed via the API. >>> q = Question . objects . get ( pk = 1 ) # Display any choices from the related objec ...
-
https://man.plustar.jp/django/intro/tutorial02.html
- [similar]
- Django 1.6.6 release notes — Django 4.0.6 ドキュメント 6573
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ionship defined to point to a field other than the PK ( #13794 ). Restored pre_delete signals for Generi ...
-
https://man.plustar.jp/django/releases/1.6.6.html
- [similar]
- 素の SQL 文の実行 — Django 4.0.6 ドキュメント 6573
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
, ... last AS last_name, ... bd AS birth_date, ... pk AS id, ... FROM some_other_table''' ) 名称が一致し ...
e' , 'last' : 'last_name' , 'bd' : 'birth_date' , 'pk' : 'id' } >>> Person . objects . raw ( 'SELECT * F ...
-
https://man.plustar.jp/django/topics/db/sql.html
- [similar]
- URL ディスパッチャ — Django 4.0.6 ドキュメント 6573
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
xView . as_view (), name = 'index' ), path ( '<int:pk>/' , views . DetailView . as_view (), name = 'deta ...
xView . as_view (), name = 'index' ), path ( '<int:pk>/' , views . DetailView . as_view (), name = 'deta ...
xView . as_view (), name = 'index' ), path ( '<int:pk>/' , views . DetailView . as_view (), name = 'deta ...
-
https://man.plustar.jp/django/topics/http/urls.html
- [similar]