per page, with , order by , clip by
Results of 1 - 10 of about 42 for subclass (0.003 sec.)
File オブジェクト 14276
File オブジェクト django.core.files モジュールとそのサブモジュールでは、Django の基本的なファイルハンドリングに関するビルトインクラスが定義されています。 File クラス class File ( file_object , name = None ) [ソース] The File class is a thin ... イルサイズ。 file The underlying file object that this class wraps. この属性をサブクラスで扱う場合には注意が必要です。 Some subclasses of File , including ContentFile and FieldFile , may replace this attribute with an object other than a Python file objec ... t . In these cases, this attribute may itself be a File subclass (and not necessarily the same subclass). Whenever possible, use the attributes and methods of the subclass itself rather t ... han those of the subclass's file attribute. mode ファイルの読み込み/書き込みのモードです。 open ( mode = None , * args , ** kwargs ) [ソース] Open o ...
https://man.mtool.work/django/6.1/ref/files/file.html
Django 3.2 リリースノート 11597
Django 3.2 リリースノート April 6, 2021 Django 3.2 へようこそ! このリリースノートでは、 バージョン 3.2 の新機能 と、Django 3.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... ることを 強く推奨 します。 Django 3.2 の新機能 Automatic AppConfig discovery Most pluggable applications define an AppConfig subclass in an apps.py submodule. Many define a default_app_config variable pointing to this class in their __init__.py . When the ... apps.py submodule exists and defines a single AppConfig subclass, Django now uses that configuration automatically, so you can remove default_app_config . default_app_config made it possi ... conservative but can lead to problems in memory constrained environments. If this is the case, the existing hasher can be subclassed to override the defaults. The default salt entropy for the Argon2, MD5, PBKDF2, SHA-1 password hashers is increased from ...
https://man.mtool.work/django/6.1/releases/3.2.html
Tasks 11272
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 ... Base backend class BaseTaskBackend [ソース] BaseTaskBackend is the parent class for all Task backends. task_class The Task subclass to use when creating tasks with the task() decorator. Defaults to Task . Custom backends can override this to use a custom ... Task subclass with additional attributes. options A dictionary of extra parameters for the Task backend. These are provided using the OP ... TIONS setting. enqueue ( task , args , kwargs ) [ソース] Task backends which subclass BaseTaskBackend should implement this method as a minimum. When implemented, enqueue() enqueues the task , a Task instance ...
https://man.mtool.work/django/6.1/ref/tasks.html
Django 1.4.2 リリースノート 9259
Django 1.4.2 リリースノート October 17, 2012 This is the second security release in the Django 1.4 series. Host header poisoning Some parts of Django -- independent of end-user-written applications -- make use of full URLs, including domain ... those of all other model fields. The first two keyword arguments are now verbose_name and name. Other bugfixes and changes Subclass HTMLParser only for appropriate Python versions (#18239). Added batch_size argument to qs.bulk_create() (#17788). Fixed a ...
https://man.mtool.work/django/6.1/releases/1.4.2.html
Django 1.7.7 リリースノート 9259
Django 1.7.7 リリースノート March 18, 2015 Django 1.7.7 fixes several bugs and security issues in 1.7.6. Denial-of-service possibility with strip_tags() Last year strip_tags() was changed to work iteratively. The problem is that the size of ... rol characters at the start of a URL in an anchor href . バグ修正 Fixed renaming of classes in migrations where renaming a subclass would cause incorrect state to be recorded for objects that referenced the superclass ( #24354 ). Stopped writing migratio ...
https://man.mtool.work/django/6.1/releases/1.7.7.html
Migrating email to mailers 8593
Migrating email to mailers Django 6.1 introduced the MAILERS setting, replacing EMAIL_BACKEND and several other EMAIL_* settings. It also introduced mail.mailers for obtaining configured email backend instances, replacing mail.get_connectio ... sing" option in the LOGGING config as shown in the previous section. To use this for BrokenLinkEmailsMiddleware , create a subclass that defines using , and then specify the path to that subclass in your MIDDLEWARE setting: from django.middleware.common ...
https://man.mtool.work/django/6.1/howto/mailers-migration.html
Model クラスのリファレンス 8593
Model クラスのリファレンス このドキュメントでは Model クラスの機能を扱います。モデルについての詳細は モデルのリファレンスガイドの完全なリスト を参照してください。 属性 DoesNotExist exception Model. DoesNotExist この例外は、期待したオブジェク ... ass of object that could not be updated, allowing you to catch exceptions for a particular model class. The exception is a subclass of django.core.exceptions.ObjectNotUpdated and inherits from django.db.DatabaseError for backward compatibility reasons. o ...
https://man.mtool.work/django/6.1/ref/models/class.html
Django 1.8.10 リリースノート 8593
Django 1.8.10 リリースノート March 1, 2016 Django 1.8.10 fixes two security issues and several bugs in 1.8.9. CVE-2016-2512: Malicious redirect and possible XSS attack via user-supplied redirect URLs containing basic auth Django relies on u ... r upgrade In each major version of Django since 1.6, the default number of iterations for the PBKDF2PasswordHasher and its subclasses has increased. This improves the security of the password as the speed of hardware increases, however, it also creates a ... d BCryptPasswordHasher . The number of rounds for the latter hasher hasn't changed since Django 1.4, but some projects may subclass it and increase the work factor as needed. A warning will be emitted for any third-party password hashers that don't imple ...
https://man.mtool.work/django/6.1/releases/1.8.10.html
Django 1.4 リリースノート 8252
Django 1.4 リリースノート March 23, 2012 Django 1.4 へようこそ! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 1.3 or older versions. We've a ... maps framework can now handle HTTPS links using the new Sitemap.protocol class attribute. A new django.test.SimpleTestCase subclass of unittest.TestCase that's lighter than django.test.TestCase and company. It can be useful in tests that don't need to hi ... connections to the production database being created after tests' execution, then you can restore the previous behavior by subclassing DjangoTestRunner and overriding its teardown_databases() method. Output of manage.py help manage.py help now groups ava ... ed the caching, so each request to a site map now creates a new Paginator object and calls the items method of the Sitemap subclass. Depending on what your items() method is doing, this may have a negative performance impact. To mitigate the performance ...
https://man.mtool.work/django/6.1/releases/1.4.html
Django 1.9.3 リリースノート 8252
Django 1.9.3 リリースノート March 1, 2016 Django 1.9.3 fixes two security issues and several bugs in 1.9.2. CVE-2016-2512: Malicious redirect and possible XSS attack via user-supplied redirect URLs containing basic auth Django relies on use ... r upgrade In each major version of Django since 1.6, the default number of iterations for the PBKDF2PasswordHasher and its subclasses has increased. This improves the security of the password as the speed of hardware increases, however, it also creates a ... d BCryptPasswordHasher . The number of rounds for the latter hasher hasn't changed since Django 1.4, but some projects may subclass it and increase the work factor as needed. A warning will be emitted for any third-party password hashers that don't imple ...
https://man.mtool.work/django/6.1/releases/1.9.3.html
PREV 1 2 3 4 5 NEXT