検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 34 for age (0.028 sec.)
django.core.signing — Django 4.0.6 ドキュメント 14539
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... """Signature timestamp is older than required max_age.""" pass def b62_encode ( s ): if s == 0 : return ... .core.signing" , serializer = JSONSerializer , max_age = None ): """ Reverse of dumps(), raise BadSignatu ... unsign_object ( s , serializer = serializer , max_age = max_age ) [ドキュメント] class Signer : def __in ... e ) [ドキュメント] def unsign ( self , value , max_age = None ): """ Retrieve original value and check it ...
https://man.plustar.jp/django/_modules/django/core/signing.html - [similar]
暗号署名 — Django 4.0.6 ドキュメント 12366
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ods: >>> signed_obj = signer . sign_object ({ 'message' : 'Hello!' }) >>> signed_obj 'eyJtZXNzYWdlIjoiSGV ... igner . unsign_object ( signed_obj ) >>> obj {'message': 'Hello!'} See Protecting complex data structures ... dgxYP8yBZAdAIV1w' >>> signer . sign_object ({ 'message' : 'Hello!' }) 'eyJtZXNzYWdlIjoiSGVsbG8hIn0:Xdc-mO ... Fw' ) 'My string' >>> signer . sign_object ({ 'message' : 'Hello!' }) 'eyJtZXNzYWdlIjoiSGVsbG8hIn0:-UWSLC ...
https://man.plustar.jp/django/topics/signing.html - [similar]
Database Functions — Django 4.0.6 ドキュメント 9953
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... l ): name = models . CharField ( max_length = 50 ) age = models . PositiveIntegerField ( null = True , bl ... of expression to be the one from output_field . Usage example: >>> from django.db.models import FloatFie ... ctions import Cast >>> Author . objects . create ( age = 25 , name = 'Margaret Smith' ) >>> author = Auth ... or . objects . annotate ( ... age_as_float = Cast ( 'age' , output_field = FloatFiel ...
https://man.plustar.jp/django/ref/models/database-functions.html - [similar]
リクエストとレスポンスのオブジェクト — Django 4.0.6 ドキュメント 9778
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ferent ways than conventional HTML forms: binary images, XML payload etc. For processing conventional for ... tring representing the full path to the requested page, not including the scheme, domain, or query string ... け入れ可能なエンコーディングです。 HTTP_ACCEPT_LANGUAGE -- レスポンスに対して受け入れ可能な言語です。 HTTP ... R -- (存在する場合) リファラページです。 HTTP_USER_AGENT -- クライアントのユーザエージェント文字列です。 ...
https://man.plustar.jp/django/ref/request-response.html - [similar]
Constraints reference — Django 4.0.6 ドキュメント 8947
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... oncrete model. For example CheckConstraint(check=Q(age__gte=18), name='%(app_label)s_%(class)s_is_adult') ... s) are different in this regard, in that they leverage the existing validate_unique() logic, and thus ena ... ble two-stage validation. In addition to IntegrityError on save( ... t to enforce. For example, CheckConstraint(check=Q(age__gte=18), name='age_gte_18') ensures the age field ...
https://man.plustar.jp/django/ref/models/constraints.html - [similar]
セッションの使いかた — Django 4.0.6 ドキュメント 8787
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 必要があります。 一度インストールの設定をすれば、 manage.py migrate を実行することで、セッションデータを保存 ... クライアントが自由に読むことができます。 A MAC (Message Authentication Code) is used to protect the data a ... ーが「古くなった」と判断できるのは、 SESSION_COOKIE_AGE を過ぎた場合だけだからです。 パフォーマンス Finall ... にしておくために使ってください。 get_session_cookie_age () ¶ Returns the value of the setting SESSION_COOK ...
https://man.plustar.jp/django/topics/http/sessions.html - [similar]
データベース — Django 4.0.6 ドキュメント 8611
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... of the features that might be relevant to Django usage. It is not intended as a replacement for server-sp ... n each request. They're controlled by the CONN_MAX_AGE parameter which defines the maximum lifetime of a ... st. To enable persistent connections, set CONN_MAX_AGE to a positive integer of seconds. For unlimited pe ... istent connections, set it to None . Connection management ¶ Django opens a connection to the database wh ...
https://man.plustar.jp/django/ref/databases.html - [similar]
設定 — Django 4.0.6 ドキュメント 8276
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ND にバックエンドのクラスの完全修飾パス (例: mypackage.backends.whatever.WhateverCache ) を設定してくださ ... ト値: 600 The default number of seconds to cache a page for the cache middleware . See Django's cache fram ... ework . CSRF_COOKIE_AGE ¶ Default: 31449600 (approximately 1 year, in seco ... nds) The age of CSRF cookies, in seconds. The reason for settin ...
https://man.plustar.jp/django/ref/settings.html - [similar]
組み込みタグとフィルタ — Django 4.0.6 ドキュメント 8036
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ィルタを使うこともできます。例を示します: {% if messages | length >= 100 %} You have lots of messages toda ... 例えば次のテンプレートは somelibrary 、そして package パッケージの``otherlibrary`` に登録されたすべてのタ ... とフィルタを読み込みます。: {% load somelibrary package.otherlibrary %} 引数に from を使えば、ライブラリか ... d, which will cause your site to display an error page. ページを表示させずに URL を取り出したい場合、少し ...
https://man.plustar.jp/django/ref/templates/builtins.html - [similar]
Django's cache framework — Django 4.0.6 ドキュメント 8036
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ell, they're dynamic. Each time a user requests a page, the web server makes all sorts of calculations -- ... late rendering to business logic -- to create the page that your site's visitor sees. This is a lot more ... w this would work for a dynamically generated web page: given a URL , try finding that page in the cache ... if the page is in the cache : return the cached page else : ge ...
https://man.plustar.jp/django/topics/cache.html - [similar]
PREV 1 2 3 4 NEXT