検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 170 for key (0.027 sec.)
Django's cache framework — Django 4.0.6 ドキュメント 12532
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... havior. These arguments are provided as additional keys in the CACHES setting. Valid arguments are as fol ... can set TIMEOUT to None so that, by default, cache keys never expire. A value of 0 causes keys to immedia ... and Redis backends pass the contents of OPTIONS as keyword arguments to the client constructors, allowing ... of client behavior. For example usage, see below. KEY_PREFIX : A string that will be automatically inclu ...
https://man.plustar.jp/django/topics/cache.html - [similar]
Django オブジェクトのシリアル化 — Django 4.0.6 ドキュメント 11889
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... utes of each model will be serialized. The primary key is always serialized as the pk element in the resu ... epresents the value that should be stored. Foreign keys and other relational fields are treated a little ... uth.Permission object with the PK 27 has a foreign key to the contenttypes.ContentType instance with the ... property and property-value respectively. Foreign keys have the PK of the linked object as property valu ...
https://man.plustar.jp/django/topics/serialization.html - [similar]
django.core.signing — Django 4.0.6 ドキュメント 9339
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ecode ( s + pad ) def base64_hmac ( salt , value , key , algorithm = "sha1" ): return b64_encode ( salted ... _hmac ( salt , value , key , algorithm = algorithm ) . digest () ) . decode ( ... ner = import_string ( settings . SIGNING_BACKEND ) key = force_bytes ( settings . SECRET_KEY ) # SECRET_K ... r bytes. return Signer ( b "django.http.cookies" + key , salt = salt ) class JSONSerializer : """ Simple ...
https://man.plustar.jp/django/_modules/django/core/signing.html - [similar]
リクエストとレスポンスのオブジェクト — Django 4.0.6 ドキュメント 8493
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... er is being used. Using this instead of path can make your code easier to move between test and deploymen ... ry-like object containing all uploaded files. Each key in FILES is the name from the <input type="file" n ... HTTP headers in the request are converted to META keys by converting all characters to uppercase, replac ... header called X-Bender would be mapped to the META key HTTP_X_BENDER . Note that runserver strips all hea ...
https://man.plustar.jp/django/ref/request-response.html - [similar]
複数のデータベース — Django 4.0.6 ドキュメント 7986
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... is purely a validation operation, used by foreign key and many to many operations to determine if a rela ... hints normally contains the model class under the key 'model' . Note that it may be a historical model , ... ready have migrations may result in broken foreign keys, extra tables, or missing tables. When makemigrat ... () Selecting a database for save() ¶ Use the using keyword to Model.save() to specify to which database t ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
モデルインスタンスリファレンス — Django 4.0.6 ドキュメント 7941
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ther Python class: class Model ( ** kwargs ) ¶ The keyword arguments are the names of the fields you've d ... el has an AutoField — an auto-incrementing primary key — then that auto-incremented value will be calcula ... d by default unless you explicitly specify primary_key=True on a field in your model. See the documentati ... l. pk ¶ Regardless of whether you define a primary key field yourself, or let Django supply one for you, ...
https://man.plustar.jp/django/ref/models/instances.html - [similar]
contenttypes フレームワーク — Django 4.0.6 ドキュメント 7884
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... n framework uses a Permission model with a foreign key to ContentType ; this lets Permission represent co ... ng the ContentType of proxy models. get_by_natural_key ( app_label , model ) ¶ Returns the ContentType in ... ContentType objects to be referenced via a natural key during deserialization. The get_for_model() method ... ntType: user> Generic relations ¶ Adding a foreign key from one of your own models to ContentType allows ...
https://man.plustar.jp/django/ref/contrib/contenttypes.html - [similar]
暗号署名 — Django 4.0.6 ドキュメント 7794
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... downloadable file that a user has paid for. SECRET_KEY を守る ¶ startproject によって新しいプロジェクトを ... 作る際、 settings.py が生成され、ランダムな SECRET_KEY を得ます。この値が、署名されたデータを安全に保つ鍵 ... tected!" ) デフォルトでは、 Signer クラスは SECRET_KEY 設定の値を署名生成に利用します。次のように Signer ... string:EkfQJafvGyiofrdGnuthdxImIJw' class Signer ( key = None , sep = ':' , salt = None , algorithm = Non ...
https://man.plustar.jp/django/topics/signing.html - [similar]
django.dispatch.dispatcher — Django 4.0.6 ドキュメント 7591
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... l signals Internal attributes: receivers { receiverkey (id) : weakref(receiver) } """ def __init__ ( self ... d(). self . sender_receivers_cache = weakref . WeakKeyDictionary () if use_caching else {} self . _dead_r ... ak referenceable. Receivers must be able to accept keyword arguments. If a receiver is connected with a d ... : raise ValueError ( "Signal receivers must accept keyword arguments (**kwargs)." ) if dispatch_uid : loo ...
https://man.plustar.jp/django/_modules/django/dispatch/dispatcher.html - [similar]
セッションの使いかた — Django 4.0.6 ドキュメント 7535
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... タは、 暗号化署名 のための Django のツールと SECRET_KEY を使って保存されます。 注釈 保存されたデータに Jav ... e に設定しておくことをおすすめします。 警告 SECRET_KEY が知られてしまい、 PickleSerializer を使用していた ... リモートコードが実行可能になってしまいます。 SECRET_KEY を知っている攻撃者は、偽造したセッションデータを生 ... ィクショナリのメソッドを持っています。 __getitem__ ( key ) ¶ 例: fav_color = request.session['fav_color'] _ ...
https://man.plustar.jp/django/topics/http/sessions.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT