per page, with , order by , clip by
Results of 1 - 10 of about 20 for loop (0.003 sec.)
非同期サポート 14206
非同期サポート Django has support for writing asynchronous ("async") views, along with an entirely async-enabled request stack if you are running under ASGI . Async views will still work under WSGI, but with a small per-request adaptation c ... . The per-call cost of this adaptation is small: tens of microseconds in the in-request ASGI path, where the running event loop is reused, and a few hundred microseconds in the cold-start path used by management commands, background tasks, and script ... L contention as the number of active threads grows. If you find yourself wrapping individual rows or operations in a tight loop, restructure your code so the loop runs inside a single sync_to_async() (or async_to_sync() ) crossing. The per-call cost ... of the context switch is then spread across the whole loop and effectively disappears. The same per-call adaptation cost applies to middleware. Django will attempt to minimize the n ...
https://man.mtool.work/django/6.1/topics/async.html
Django 2.2.27 リリースノート 9975
Django 2.2.27 リリースノート 2022年2月1日 Django 2.2.27 では 2.2.26 における深刻度 "medium" のセキュリティの問題2件を修正しました。 CVE-2022-22818: {% debug %} テンプレート経由の XSS の可能性 The {% debug %} template tag didn't properly enc ... 23833: Denial-of-service possibility in file uploads Passing certain inputs to multipart forms could result in an infinite loop when parsing files. ...
https://man.mtool.work/django/6.1/releases/2.2.27.html
Django 3.2.12 リリースノート 9975
Django 3.2.12 リリースノート 2022年2月1日 Django 3.2.12 では 3.2.11 における深刻度 "medium" のセキュリティの問題2件を修正しました。 CVE-2022-22818: {% debug %} テンプレート経由の XSS の可能性 The {% debug %} template tag didn't properly enc ... 23833: Denial-of-service possibility in file uploads Passing certain inputs to multipart forms could result in an infinite loop when parsing files. ...
https://man.mtool.work/django/6.1/releases/3.2.12.html
Django 6.1.2 release notes 9975
Django 6.1.2 release notes October 6, 2026 Django 6.1.2 fixes one security issue with severity "low", three security issues with severity "moderate", and provides a fix for an insufficient security mitigation in 6.1. It also fixes one data ... loss issue in 4.0, one infinite loop in 5.2, and several bugs in 6.1.1. CVE-2026-77050: Potential denial-of-service vulnerability in get_supported_language_var ... cted. Fixed a data loss issue in Django 4.0 where network rasters were deleted by GeoDjango when closed. Fixed an infinite loop in Django 5.2 in tuple lookups (e.g. TupleIn ) when an F() expression was used as the left-hand side ( #37291 ). Fixed a r ...
https://man.mtool.work/django/6.1/releases/6.1.2.html
Django 1.6.11 リリースノート 9227
Django 1.6.11 リリースノート March 18, 2015 Django 1.6.11 fixes two security issues in 1.6.10. Denial-of-service possibility with strip_tags() Last year strip_tags() was changed to work iteratively. The problem is that the size of the input ... it's processing can increase on each iteration which results in an infinite loop in strip_tags() . This issue only affects versions of Python that haven't received a bugfix in HTMLParser ; namely Python ...
https://man.mtool.work/django/6.1/releases/1.6.11.html
Django 1.4.2 リリースノート 8972
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 ... ters where wrongly formatted dates passed as url parameters caused an unhandled ValidationError (#18530). Fixed an endless loop bug when accessing permissions in templates (#18979) Fixed some Python 2.5 compatibility issues Fixed an issue with quoted ...
https://man.mtool.work/django/6.1/releases/1.4.2.html
Django 1.7.7 リリースノート 8972
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 ... the input it's processing can increase on each iteration which results in an infinite loop in strip_tags() . This issue only affects versions of Python that haven't received a bugfix in HTMLParser ; namely Python ...
https://man.mtool.work/django/6.1/releases/1.7.7.html
Django 4.0.2 リリースノート 8972
Django 4.0.2 リリースノート 2022年2月1日 Django 4.0.2 では、 4.0.1 における深刻度 "medium" のセキュリティの問題2件と、いくつかのバグを修正しました。また、 Transifex からの最新の文字列翻訳が反映され、ブルガリア語の翻訳が完了しました。 CVE-20 ... 23833: Denial-of-service possibility in file uploads Passing certain inputs to multipart forms could result in an infinite loop when parsing files. バグ修正 Fixed a bug in Django 4.0 where TestCase.captureOnCommitCallbacks() could execute callbacks m ...
https://man.mtool.work/django/6.1/releases/4.0.2.html
Coding style 8717
Coding style Please follow these coding standards when writing code for inclusion in Django. Pre-commit checks pre-commit is a framework for managing pre-commit hooks. These hooks help to identify simple issues before committing code for re ... te time doing unrelated refactoring of existing code to adjust the formatting method. Avoid use of "we" in comments, e.g. "Loop over" rather than "We loop over". Use underscores, not camelCase, for variable, function and method names (i.e. poll.get_u ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
Fetch modes 8479
Fetch modes New in Django 6.1. When accessing model fields that were not loaded as part of the original query, Django will fetch that field's data from the database. You can customize the behavior of this fetching with a fetch mode , making ... ): ... class Book ( models . Model ): author = models . ForeignKey ( Author , on_delete = models . CASCADE ) ... …and this loop: for book in books : print ( book . author . name ) …where books is a QuerySet of Book instances using some fetch mode. FE ...
https://man.mtool.work/django/6.1/topics/db/fetch-modes.html
PREV 1 2 NEXT