per page, with , order by , clip by
Results of 1 - 10 of about 64 for Single (0.003 sec.)
Coding style 11099
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 ... n lines by 4 spaces. Include a trailing comma after the last import and put the closing parenthesis on its own line. Use a single blank line between the last import and any module level code, and use two blank lines above the first function or class. F ... endblock header %} Don't do this: {% block header %} Code goes here {% endblock %} Inside curly braces, separate tokens by single spaces, except for around the . for attribute access and the | for a filter. Do this: {% if user.name | lower == "admin" % ... 20 ) Last_Name = models . CharField ( max_length = 40 ) The class Meta should appear after the fields are defined, with a single blank line separating the fields and the class definition. Do this: class Person ( models . Model ): first_name = models . ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
Django 3.0.6 リリースノート 10797
Django 3.0.6 リリースノート May 4, 2020 Django 3.0.6 fixes a bug in 3.0.5. バグ修正 Fixed a regression in Django 3.0 that caused a crash when filtering a Subquery() annotation of a queryset containing a single related field against a Simple ...
https://man.mtool.work/django/6.1/releases/3.0.6.html
Django 1.5 リリースノート 10165
Django 1.5 リリースノート February 26, 2013 Django 1.5 へようこそ! 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.4 or older versions. We'v ... hon 3 support Django 1.5 introduces support for Python 3 - specifically, Python 3.2 and above. This comes in the form of a single codebase; you don't need to install a different version of Django on Python 3. This means that you can write applications ... targeted for just Python 2, just Python 3, or single applications that support both platforms. However, we're labeling this support "experimental" for now: although it's recei ... as set by the second line. For one-to-one relationships, both sides can be cached. For many-to-one relationships, only the single side of the relationship can be cached. This is particularly helpful in combination with prefetch_related . Explicit suppo ...
https://man.mtool.work/django/6.1/releases/1.5.html
メールを送信する 10165
メールを送信する Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework also supports swapping in different delivery mechanisms: you can direct email to the console ... er = None , auth_password = None , connection = None , html_message = None ) [ソース] django.core.mail.send_mail() sends a single email message. subject 、 message 、 from_email 、 recipient_list の 4 つの引数は必須です。 subject : 文字列。 message : 文 ... nd_mail() is that send_mail() opens a connection to the mail server each time it's executed, while send_mass_mail() uses a single connection for all of its messages. This makes send_mass_mail() slightly more efficient. send_mail() with multiple to addr ... esses sends a single email message, with john@example.com and jane@example.com both appearing in the "To:" field: send_mail ( "Subject" , "Mess ...
https://man.mtool.work/django/6.1/topics/email.html
クラスベースビューのミックスイン (mixin) 9534
クラスベースビューのミックスイン (mixin) クラスベースビュー API のリファレンスです。入門的な内容については クラスベースのビューでミックスイン (mixin) を使用する を参照してください。 シンプルなミックスイン (mixin) 単一オブジェクト ミックスイ ... ン (Single object mixin) 複数オブジェクトミックスイン (Multiple object mixin) ミックスイン (mixin) を編集する 日付ベースのミックスイン ...
https://man.mtool.work/django/6.1/ref/class-based-views/mixins.html
Django 5.1.8 リリースノート 9534
Django 5.1.8 リリースノート 2025年4月2日 Django 5.1.8 では、 5.1.7 における深刻度 "moderate" のセキュリティの問題1件と、いくつかのバグを修正しました。 CVE-2025-27556: Windows における、 LoginView 、 LogoutView および set_language() での潜在 ... nputs with a very large number of Unicode characters. バグ修正 Fixed a regression in Django 5.1.7 where the removal of the single_object parameter unintentionally altered the signature and return type of LogEntryManager.log_actions() ( #36234 ). ...
https://man.mtool.work/django/6.1/releases/5.1.8.html
Django 2.0.4 リリースノート 9218
Django 2.0.4 リリースノート 2018年4月2日 Django 2.0.4 では、2.0.3 にあったいくつかのバグを修正しました。 バグ修正 Fixed a crash when filtering with an Exists() annotation of a queryset containing a single field ( #29195 ). Fixed admin autoc ...
https://man.mtool.work/django/6.1/releases/2.0.4.html
非同期サポート 9218
非同期サポート 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 ... le, or investigate a third-party connection pooling option if required. As in synchronous Django, concurrent requests in a single process share that pool, so size it to the target in-flight query concurrency. パフォーマンス When running in a mode that ... 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 lo ... め、生のデータベースハンドルや、その他 thread-sensitive な参照を渡すことは避ける必要があることに注意してください。 Within a single request, multiple thread_sensitive calls serialize on that request's worker thread, but each request gets its own per-cont ...
https://man.mtool.work/django/6.1/topics/async.html
Django 1.3 リリースノート 8902
Django 1.3 リリースノート March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plenty of bug fixes and improvements to existing features. These release notes cover the new featu ... xclude the current context from the included context The with tag now allows you to define multiple context variables in a single with block. The load tag now accepts a from argument, allowing you to load a single tag or filter from a library. Template ... s included a template attribute containing information about templates rendered in generating the response: either None, a single Template object, or a list of Template objects. This inconsistency in return values (sometimes a list, sometimes not) made ... the template attribute is deprecated in favor of a new templates attribute, which is always a list, even if it has only a single element or no elements. DjangoTestRunner As a result of the introduction of support for unittest2 , the features of django ...
https://man.mtool.work/django/6.1/releases/1.3.html
Django 5.1.7 リリースノート 8902
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 ... 97 ). Fixed a regression in Django 5.1 where the pre_save and post_save signals for LogEntry were not sent when deleting a single object in the admin ( #36217 ). ...
https://man.mtool.work/django/6.1/releases/5.1.7.html
PREV 1 2 3 4 5 6 7 NEXT