Results of 1 - 10 of about 13 for functools (0.002 sec.)
- Django 1.4.12 リリースノート 11454
- Django 1.4.12 リリースノート April 28, 2014 Django 1.4.12 fixes a regression in the 1.4.11 security release. バグ修正 Restored the ability to reverse() views created using functools.partial() ( #22486 ).
...
-
https://man.mtool.work/django/6.1/releases/1.4.12.html
- Django 1.5.7 リリースノート 11454
- Django 1.5.7 リリースノート April 28, 2014 Django 1.5.7 fixes a regression in the 1.5.6 security release. バグ修正 Restored the ability to reverse() views created using functools.partial() ( #22486 ).
...
-
https://man.mtool.work/django/6.1/releases/1.5.7.html
- Django 1.6.4 リリースノート 10821
- Django 1.6.4 リリースノート April 28, 2014 Django 1.6.4 fixes several bugs in 1.6.3. バグ修正 Added backwards compatibility support for the django.contrib.messages cookie format of Django 1.4 and earlier to facilitate upgrading to 1.6 from
... 1.4 ( #22426 ). Restored the ability to reverse() views created using functools.partial() ( #22486 ). Fixed the object_id of the LogEntry that's created after a user password change in the admin ( #2251 ...
-
https://man.mtool.work/django/6.1/releases/1.6.4.html
- Django 1.9.6 リリースノート 10187
- Django 1.9.6 リリースノート May 2, 2016 Django 1.9.6 では、1.9.5 にあったいくつかのバグを修正しました。 バグ修正 Added support for relative path redirects to the test client and to SimpleTestCase.assertRedirects() because Django 1.9 no long
... QL and SQLite ( #26498 ). Prevented makemigrations from generating infinite migrations for a model field that references a functools.partial ( #26475 ). Fixed a regression where SessionBase.pop() returned None rather than raising a KeyError for nonexisten ...
-
https://man.mtool.work/django/6.1/releases/1.9.6.html
- Django 3.0 リリースノート 10187
- Django 3.0 リリースノート 2019年12月2日 Django 3.0 へようこそ! このリリースノートでは、 バージョン 3.0 の新機能 と、Django 2.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能
... ango.test.utils.patch_logger() - Use unittest.TestCase.assertLogs() instead. django.utils.lru_cache.lru_cache() - Alias of functools.lru_cache() . django.utils.decorators.available_attrs() - This function returns functools.WRAPPER_ASSIGNMENTS . django.uti ... ncoding.python_2_unicode_compatible() - Alias of six.python_2_unicode_compatible() . django.utils.functional.curry() - Use functools.partial() or functools.partialmethod . See 5b1c389603a353625ae1603ba345147356336afb . django.utils.safestring.SafeBytes - ...
-
https://man.mtool.work/django/6.1/releases/3.0.html
- マイグレーション 8938
- マイグレーション マイグレーション (Migrations) は、Django でモデルに対して行った変更 (フィールドの追加やモデルの削除など) をデータベーススキーマに反映させる方法です。大抵のマイグレーションは自動で行われるものの、いつマイグレーションが作られ
... む) zoneinfo.ZoneInfo instances decimal.Decimal インスタンス enum.Enum または enum.Flag インスタンス uuid.UUID インスタンス functools.partial() and functools.partialmethod instances which have serializable func , args , and keywords values Pure and concret ... (ただし、モジュールのトップレベルのスコープにいなければならない) 関数は適切にラップされていればデコレートできます、つまり functools.wraps() を使います。 functools.cache() デコレータと functools.lru_cache() デコレータは明示的にサポートされています。 クラス ...
-
https://man.mtool.work/django/6.1/topics/migrations.html
- Django's Tasks framework 8621
- 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
... k runs before the Thing is committed to the database, use transaction.on_commit() , binding all arguments to enqueue() via functools.partial() : from functools import partial from django.db import transaction with transaction . atomic (): Thing . objects ...
-
https://man.mtool.work/django/6.1/topics/tasks.html
- Django 5.0 リリースノート 7354
- Django 5.0 リリースノート 2023年12月4日 Django 5.0 へようこそ! このリリースノートでは、 バージョン 5.0 の新機能 と、Django 4.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし
... 性を含むようになりました。 国際化 (internationalization) ウイグル語のサポートと翻訳が利用可能になりました。 マイグレーション functools.cache() または functools.lru_cache() でデコレーションされた関数のシリアライズが、カスタムのシリアライザーを書く必要なくサポ ...
-
https://man.mtool.work/django/6.1/releases/5.0.html
- フィクスチャ (fixture) 7354
- フィクスチャ (fixture) フィクスチャ (fixture) とは、シリアライズされたデータベースのコンテンツを含むファイルのコレクションです。各フィクスチャにはユニークな名前があり、フィクスチャを構成するファイルは、複数のアプリケーションの複数のディレク
... ... post_save . connect ( my_handler , sender = MyModel ) このロジックをカプセル化するデコレータを書くこともできます: from functools import wraps def disable_for_loaddata ( signal_handler ): """ Decorator that turns off signal handlers when loading fixtur ...
-
https://man.mtool.work/django/6.1/topics/db/fixtures.html
- データベースのトランザクション 7354
- データベースのトランザクション Django では、データベースのトランザクションをコントロールする方法が提供されています。 データベースのトランザクションを管理する Django のデフォルトのトランザクションの動作 Django のデフォルトの動作は、オートコミ
... ction def send_welcome_email (): ... transaction . on_commit ( send_welcome_email ) コールバックには引数は渡されませんが、 functools.partial() で渡すことができます: from functools import partial for user in users : transaction . on_commit ( partial ( send ...
-
https://man.mtool.work/django/6.1/topics/db/transactions.html