per page, with , order by , clip by
Results of 1 - 9 of about 9 for truncate (0.007 sec.)
Django 5.1.7 リリースノート 13643
Django 5.1.7 リリースノート 2025年3月6日 Django 5.1.7 では、 5.1.6 における深刻度 "moderate" のセキュリティの問題1件と、いくつかのバグを修正しました。 CVE-2025-26699: django.utils.text.wrap() における潜在的な DoS 攻撃の脆弱性 The wrap() and ... he query string ( #36182 ). Fixed a bug in Django 5.1 where FileSystemStorage , with allow_overwrite set to True , did not truncate the overwritten file content ( #36191 ). Fixed a regression in Django 5.1 where the count and exists methods of ManyToMany ...
https://man.mtool.work/django/6.1/releases/5.1.7.html
File オブジェクト 9832
File オブジェクト django.core.files モジュールとそのサブモジュールでは、Django の基本的なファイルハンドリングに関するビルトインクラスが定義されています。 File クラス class File ( file_object , name = None ) [ソース] The File class is a thin ... ッドを公開しています: encoding , fileno , flush , isatty , newlines , read , readinto , readline , readlines , seek , tell , truncate , write , writelines , readable() , writable() , および seekable() 。 ContentFile クラス class ContentFile ( content , nam ...
https://man.mtool.work/django/6.1/ref/files/file.html
Django 1.11 リリースノート 9185
Django 1.11 リリースノート April 4, 2017 Django 1.11 へようこそ! このリリースノートでは、Django 1.10 および過去のバージョンからアップグレードする際に知っておくべきいくつかの 後方互換性のない変更 に加え、 新機能 を説明しています。 いくつかの ... extract the week from DateField and DateTimeField and exposed it through the week lookup. Added the TruncTime function to truncate DateTimeField to its time component and exposed it through the time lookup. QuerySet.values() と values_list() の表現へのサ ... dded to support TimeField truncation. It accepts a lookup_type and field_name arguments and returns the appropriate SQL to truncate the given time field field_name to a time object with only the given specificity. The lookup_type argument can be either ' ...
https://man.mtool.work/django/6.1/releases/1.11.html
Django の機能廃止のタイムライン 8556
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... LOGGING setting should include this filter explicitly if it is desired. The builtin truncation functions django.utils.text.truncate_words() and django.utils.text.truncate_html_words() will be removed in favor of the django.utils.text.Truncator class. The ...
https://man.mtool.work/django/6.1/internals/deprecation.html
Django 1.10 リリースノート 8556
Django 1.10 リリースノート 2016年8月1日 Django 1.10 へようこそ! このリリースノートでは、 バージョン 1.10 の新機能 と、Django 1.9 以前からアップグレードする際に注意が必要な 後方互換性が失われた変更点 について説明します。私たちは、非推奨の期間 ... class. Added Extract functions to extract datetime components as integers, such as year and hour. Added Trunc functions to truncate a date or datetime to a significant component. They enable queries like sales-per-day or sales-per-hour. Model.__init__() ... filename() instead. It might be possible to use upload_to also. The subject of mail sent by AdminEmailHandler is no longer truncated at 989 characters. If you were counting on a limited length, truncate the subject yourself. Private expressions django.db ...
https://man.mtool.work/django/6.1/releases/1.10.html
Django 3.1 リリースノート 7927
Django 3.1 リリースノート August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... iaDB 10.5+. The DatabaseOperations.sql_flush() method now generates more efficient SQL on MySQL by using DELETE instead of TRUNCATE statements for tables which don't require resetting sequences. SQLite functions are now marked as deterministic on Python ... seOperations.sql_flush() is replaced by the boolean keyword-only argument reset_sequences . If True , the sequences of the truncated tables will be reset. The allow_cascade argument of DatabaseOperations.sql_flush() is now a keyword-only argument. The us ...
https://man.mtool.work/django/6.1/releases/3.1.html
Django 3.2 リリースノート 7927
Django 3.2 リリースノート April 6, 2021 Django 3.2 へようこそ! このリリースノートでは、 バージョン 3.2 の新機能 と、Django 3.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... abaseOperations.date_trunc_sql() and DatabaseOperations.time_trunc_sql() now take the optional tzname argument in order to truncate in a specific timezone. DatabaseClient.runshell() now gets arguments and an optional dictionary with environment variables ...
https://man.mtool.work/django/6.1/releases/3.2.html
テストツール 7927
テストツール Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecosystem. There are testing and fixtures solutions highlighted on the Community Ecosystem page. T ... ットとロールバックの効果をテストするコードの機能を除いて同一です。 TransactionTestCase は、テスト実行後にすべてのテーブルを truncate することでデータベースをリセットします。 TransactionTestCase はコミットとロールバックを呼び出して、これらの呼び出しのデータ ... ベースへの効果を観察できます。 一方、 TestCase は、テスト後にテーブルを truncate しません。代わりに、テスト終了時にロールバックされるデータベーストランザクション内にテストコードを含めます。これにより、テ ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
Django 2.0 リリースノート 7279
Django 2.0 リリースノート December 2, 2017 Django 2.0 へようこそ! このリリースノートでは、 バージョン 2.0 の新機能 と、Django 1.11 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... e quarter from DateField and DateTimeField , and exposed it through the quarter lookup. Added the TruncQuarter function to truncate DateField and DateTimeField to the first day of a quarter. Added the db_tablespace parameter to class-based indexes. If th ...
https://man.mtool.work/django/6.1/releases/2.0.html
PREV 1 NEXT