検索

phrase: max: clip:
target: order:
Results of 51 - 60 of about 60 for pk (0.107 sec.)
Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 6165
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... est , user_id ): user = get_object_or_404 ( User , pk = user_id ) # any permission check will cache the ... clear the cache. user = get_object_or_404 ( User , pk = user_id ) # Permission cache is repopulated from ...
https://man.plustar.jp/django/topics/auth/default.html - [similar]
複数のデータベース — Django 4.0.6 ドキュメント 6165
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 'Fred' ) >>> p . save ( using = 'first' ) >>> p . pk = None # Clear the primary key. >>> p . save ( usi ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
How to create custom model fields — Django 4.0.6 ドキュメント 6064
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 想定しています) example = MyModel . objects . get ( pk = 1 ) print ( example . hand . north ) new_hand = ...
https://man.plustar.jp/django/howto/custom-model-fields.html - [similar]
システムチェックフレームワーク — Django 4.0.6 ドキュメント 6064
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Field names must not contain "__" . fields.E003 : pk is a reserved word that cannot be used as a field ...
https://man.plustar.jp/django/ref/checks.html - [similar]
データベース — Django 4.0.6 ドキュメント 6064
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nection that's unlikely to be reused. This will help keep the number of simultaneous connections to this ... >>> User . objects . create ( username = 'alice' , pk = 1 ) <User: alice> >>> # The sequence hasn't been ... te key value violates unique constraint "auth_user_pkey" DETAIL: Key (id)=(1) already exists. If you nee ... to change a feature class allows_group_by_selected_pks_on_model : mysite/mydbengine/base.py ¶ from djang ...
https://man.plustar.jp/django/ref/databases.html - [similar]
Django 1.10 リリースノート — Django 4.0.6 ドキュメント 6064
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... を使うのではなく、 >>> bar = Bar . objects . get ( pk = 1 ) >>> Foo . objects . get ( bar = bar ) defaul ...
https://man.plustar.jp/django/releases/1.10.html - [similar]
Django 1.4 release notes — Django 4.0.6 ドキュメント 6064
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... leObjectMixin URLConf kwargs ¶ Two new attributes, pk_url_kwarg and slug_url_kwarg , have been added to ...
https://man.plustar.jp/django/releases/1.4.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 6064
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ry_key_0 attribute has been renamed to allows_auto_pk_0 to better describe it. It's True for all databas ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
Django の認証方法のカスタマイズ — Django 4.0.6 ドキュメント 6064
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... f , user_id ): try : return User . objects . get ( pk = user_id ) except User . DoesNotExist : return No ...
https://man.plustar.jp/django/topics/auth/customizing.html - [similar]
セッションの使いかた — Django 4.0.6 ドキュメント 6064
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s import Session >>> s = Session . objects . get ( pk = '2b1189a188b44ad18c35e113ac6ceead' ) >>> s . exp ...
https://man.plustar.jp/django/topics/http/sessions.html - [similar]
PREV 1 2 3 4 5 6 NEXT