per page, with , order by , clip by
Results of 1 - 10 of about 16 for dumps (0.005 sec.)
暗号署名 15093
暗号署名 ウェブアプリケーションのセキュリティの黄金律は、信頼できない情報源からのデータを決して信頼しないことです。時には、信頼されていない媒体を通してデータを渡すことが有用な場合もあります。暗号的に署名された値は、改ざんが検知されることを前 ... 造の保護 リスト、タプル、辞書を保護したい場合は、 Signer.sign_object() と unsign_object() メソッド、あるいは署名モジュールの dumps() や loads() 関数 ( TimestampSigner(salt='django.core.signing').sign_object()/unsign_object() のショートカットです) を使っ ... LrZ:_QiOBHafwucBF9FyAr54qEs84ZO1UdsO1XiTJCvvdno' >>> signer . unsign_object ( value ) {'foo': 'bar'} >>> value = signing . dumps ({ "foo" : "bar" }) >>> value 'eyJmb28iOiJiYXIifQ:1stLsC:JItq2ZVjmAK6ivrWI-v1Gk1QVf2hOF52oaEqhZHca7I' >>> signing . loads ... ん)、タプルを渡すと signing.loads(object) からリストが返されます: >>> from django.core import signing >>> value = signing . dumps (( "a" , "b" , "c" )) >>> signing . loads ( value ) ['a', 'b', 'c'] dumps ( obj , key = None , salt = 'django.core.signing ...
https://man.mtool.work/django/6.1/topics/signing.html
Django 3.1 リリースノート 9184
Django 3.1 リリースノート August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... eset tokens in the admin site, user sessions, and signatures created by django.core.signing.Signer and django.core.signing.dumps() . Support for SHA-256 was added in Django 3.1. If you are upgrading multiple instances of the same project to Django 3.1 ... LICY to None . The default algorithm of django.core.signing.Signer , django.core.signing.loads() , and django.core.signing.dumps() is changed to the SHA-256. Support for signatures made with the old SHA-1 algorithm remains until Django 4.0. Also, the ...
https://man.mtool.work/django/6.1/releases/3.1.html
リクエストとレスポンスのオブジェクト 8854
リクエストとレスポンスのオブジェクト 簡単な概要 Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います。 あるページがリクエストされたとき、Django はリクエストに関するメタデータを含んだ HttpRequest ... Status . NO_CONTENT JsonResponse オブジェクト class JsonResponse ( data , encoder = DjangoJSONEncoder , safe = True , json_dumps_params = None , ** kwargs ) [ソース] HttpResponse のサブクラスで、JSONエンコードされたレスポンスを作成するのに役立ちます。 ... のみが許可されます)。 safe が True であり、非 dict オブジェクトが第一引数として渡された場合、 TypeError が発生します。 json_dumps_params パラメーターは、レスポンス生成に使用される json.dumps() 呼び出しに渡すキーワード引数の辞書です。 使い方 一般的な使用 ...
https://man.mtool.work/django/6.1/ref/request-response.html
Tasks 8854
Tasks New in Django 6.0. The Task framework provides the contract and plumbing for background work, not the engine that runs it. The Tasks API defines how work is described, queued, and tracked, but leaves actual execution to external infra ... sk to the Task backend for later execution. Arguments are passed to the Task 's function after a round-trip through a json.dumps() / json.loads() cycle. Hence, all arguments must be JSON-serializable and preserve their type after the round-trip. If th ...
https://man.mtool.work/django/6.1/ref/tasks.html
Django 1.7 リリースノート 8525
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... .utils.text . It was used internally in the javascript_catalog() view whose implementation was changed to make use of json.dumps() instead. If you were relying on this function to provide safe output from untrusted strings, you should use django.utils ... escapejs or the escapejs template filter. If all you need is to generate valid JavaScript strings, you can simply use json.dumps() . fix_ampersands utils method and template filter The django.utils.html.fix_ampersands method and the fix_ampersands tem ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.9 リリースノート 8525
Django 1.9 リリースノート December 1, 2015 Django 1.9 へようこそ! このリリースノートでは、 バージョン 1.9 の新機能 と、Django 1.8 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機 ... n so that handler403 is invoked. Added HttpRequest.get_port() to fetch the originating port of the request. Added the json_dumps_params parameter to JsonResponse to allow passing keyword arguments to the json.dumps() call used to generate the response ...
https://man.mtool.work/django/6.1/releases/1.9.html
Django's Tasks framework 8525
Django's Tasks framework New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's often more than just turning HTTP requests into HTTP responses. For some functionality, it may be ... ... TypeError : Object of type datetime is not JSON serializable Arguments must also be able to round-trip through a json.dumps() / json.loads() cycle without changing type. For example, consider this Task: @task () def double_dictionary ( key ): ret ...
https://man.mtool.work/django/6.1/topics/tasks.html
Porting your apps from Django 0.96 to 1.0 8196
Porting your apps from Django 0.96 to 1.0 Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and apps to 1.0. The first part of this document includes the common changes needed to run with 1 ... portant that you remember to use XML format in the first step of this process. We are exploiting a feature of the XML data dumps that makes porting floats to decimals with SQLite possible. In the second step you will be asked to confirm that you are p ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
Django 3.2 リリースノート 8196
Django 3.2 リリースノート April 6, 2021 Django 3.2 へようこそ! このリリースノートでは、 バージョン 3.2 の新機能 と、Django 3.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... .unsign_object() methods allow signing complex data structures. See 複雑なデータ構造の保護 for more details. Also, signing.dumps() and loads() become shortcuts for TimestampSigner.sign_object() and unsign_object() . シリアライズ (シリアル化) The new J ...
https://man.mtool.work/django/6.1/releases/3.2.html
Django 4.0 リリースノート 8196
Django 4.0 リリースノート 2021年12月7日 Django 4.0 へようこそ! このリリースノートでは、 バージョン 4.0 の新機能 と、Django 3.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... igning.Signer signatures (encoded with the SHA-1 algorithm) is removed. Support for the pre-Django 3.1 django.core.signing.dumps() signatures (encoded with the SHA-1 algorithm) in django.core.signing.loads() is removed. Support for the pre-Django 3.1 ...
https://man.mtool.work/django/6.1/releases/4.0.html
PREV 1 2 NEXT