per page, with , order by , clip by
Results of 1 - 10 of about 16 for loads (0.039 sec.)
暗号署名 14954
暗号署名 ウェブアプリケーションのセキュリティの黄金律は、信頼できない情報源からのデータを決して信頼しないことです。時には、信頼されていない媒体を通してデータを渡すことが有用な場合もあります。暗号的に署名された値は、改ざんが検知されることを前 ... スト、タプル、辞書を保護したい場合は、 Signer.sign_object() と unsign_object() メソッド、あるいは署名モジュールの dumps() や loads() 関数 ( TimestampSigner(salt='django.core.signing').sign_object()/unsign_object() のショートカットです) を使って保護できま ... dumps ({ "foo" : "bar" }) >>> value 'eyJmb28iOiJiYXIifQ:1stLsC:JItq2ZVjmAK6ivrWI-v1Gk1QVf2hOF52oaEqhZHca7I' >>> signing . loads ( value ) {'foo': 'bar'} JSONの性質上(ネイティブではリストとタプルの区別がありません)、タプルを渡すと signing.loads(obje ... からリストが返されます: >>> 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' , serializer = JSONSerializer , compress ...
https://man.mtool.work/django/6.1/topics/signing.html
Django 3.1.1 リリースノート 10137
Django 3.1.1 リリースノート September 1, 2020 Django 3.1.1 fixes two security issues and several bugs in 3.1. CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+ On Python 3.7+, FILE_UPLOAD_DIRECTORY_PERMI ... e, fetching a JSONField with raw SQL now returns a string instead of preloaded data. You will need to explicitly call json.loads() in such cases. Fixed a QuerySet.delete() crash on MySQL, following a performance regression in Django 3.1 on MariaDB 10. ...
https://man.mtool.work/django/6.1/releases/3.1.1.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 ... 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 the Task is not v ...
https://man.mtool.work/django/6.1/ref/tasks.html
Django 1.7 リリースノート 8543
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... た。また、ラップトップのバッテリーの寿命を縮める要因にもなっていました。 In addition, the development server automatically reloads when a translation file is updated, i.e. after running compilemessages . All HTTP requests are logged to the console, incl ... go provides a handy class decorator that will work for most applications. App-loading changes Start-up sequence Django 1.7 loads application configurations and models as soon as it starts. While this behavior is more straightforward and is believed to ... ment commands and order of INSTALLED_APPS When several applications provide management commands with the same name, Django loads the command from the application that comes first in INSTALLED_APPS . Previous versions loaded the command from the applic ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django's Tasks framework 8543
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 ... : 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 ): return { key : key ...
https://man.mtool.work/django/6.1/topics/tasks.html
QuerySet API リファレンス 8213
QuerySet API リファレンス このドキュメントでは、 QuerySet API の詳細を説明しています。 モデル と データベースクエリ ガイドにある説明を前提としていますので、このドキュメントを読む前にこの 2 つを読んでおくことをおすすめします。 このリファレン ... ることで、以下のようなコードで本来の QuerySet (結果を読み込む前の状態)を再現できます: >>> import pickle >>> query = pickle . loads ( s ) # Assuming 's' is the pickled string. >>> qs = MyModel . objects . all () >>> qs . query = query # Restore the origi ... me" ) >>> qs <QuerySet [(1, 'Beatles Blog')]> >>> reloaded_qs = Blog . objects . all () >>> reloaded_qs . query = pickle . loads ( pickle . dumps ( qs . query )) >>> reloaded_qs <QuerySet [{'id': 1, 'name': 'Beatles Blog'}]> バージョン間でpickle化され ... everything except "headline" is deferred. Entry . objects . only ( "headline" , "body" ) . defer ( "body" ) # Final result loads headline immediately. Entry . objects . defer ( "body" ) . only ( "headline" , "body" ) defer() のドキュメントにある注意事 ...
https://man.mtool.work/django/6.1/ref/models/querysets.html
Django 3.1 リリースノート 8213
Django 3.1 リリースノート August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... explicitly set SECURE_REFERRER_POLICY 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 re ...
https://man.mtool.work/django/6.1/releases/3.1.html
Django 3.2 リリースノート 8213
Django 3.2 リリースノート April 6, 2021 Django 3.2 へようこそ! このリリースノートでは、 バージョン 3.2 の新機能 と、Django 3.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... tion reports. ファイルのアップロード The new FileUploadHandler.upload_interrupted() callback allows handling interrupted uploads. フォーム The new absolute_max argument for formset_factory() , inlineformset_factory() , and modelformset_factory() allow ... ct() 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 JSONL seriali ...
https://man.mtool.work/django/6.1/releases/3.2.html
Django 4.0 リリースノート 8213
Django 4.0 リリースノート 2021年12月7日 Django 4.0 へようこそ! このリリースノートでは、 バージョン 4.0 の新機能 と、Django 3.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... rt 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 user sessions (that use the SHA-1 algorithm) is removed. The get_response arg ...
https://man.mtool.work/django/6.1/releases/4.0.html
Django の機能廃止のタイムライン 7884
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... django.core.signing.dumps() シグネチャ(SHA-1 アルゴリズムでエンコードされたもの)に対するサポートは、 django.core.signing.loads() から削除されます。 Django 3.1 より前のユーザーセッション(SHA-1 アルゴリズムを使用する)のサポートは削除されます。 djang ...
https://man.mtool.work/django/6.1/internals/deprecation.html
PREV 1 2 NEXT