per page, with , order by , clip by
Results of 1 - 10 of about 13 for record (0.002 sec.)
Django 1.4.21 リリースノート 12211
Django 1.4.21 リリースノート July 8, 2015 Django 1.4.21 fixes several security issues in 1.4.20. Denial-of-service possibility by filling session store In previous versions of Django, the session backends created a new empty record in the s ... equest.session was accessed and there was a session key provided in the request cookies that didn't already have a session record. This could allow an attacker to easily create many new session records simply by sending repeated requests with unknown s ... ession keys, potentially filling up the session store or causing other users' session records to be evicted. The built-in session backends now create a session record only if the session is actually modified; empty ... session records are not created. Thus this potential DoS is now only possible if the site chooses to expose a session-modifying view to a ...
https://man.mtool.work/django/6.1/releases/1.4.21.html
Django 1.7.9 リリースノート 11859
Django 1.7.9 リリースノート July 8, 2015 Django 1.7.9 fixes several security issues and bugs in 1.7.8. Denial-of-service possibility by filling session store In previous versions of Django, the session backends created a new empty record in ... equest.session was accessed and there was a session key provided in the request cookies that didn't already have a session record. This could allow an attacker to easily create many new session records simply by sending repeated requests with unknown s ... ession keys, potentially filling up the session store or causing other users' session records to be evicted. The built-in session backends now create a session record only if the session is actually modified; empty ... session records are not created. Thus this potential DoS is now only possible if the site chooses to expose a session-modifying view to a ...
https://man.mtool.work/django/6.1/releases/1.7.9.html
Django 1.8.3 リリースノート 10293
Django 1.8.3 リリースノート July 8, 2015 Django 1.8.3 fixes several security issues and bugs in 1.8.2. Also, django.utils.deprecation.RemovedInDjango20Warning was renamed to RemovedInDjango110Warning as the version roadmap was revised to 1. ... l-of-service possibility by filling session store In previous versions of Django, the session backends created a new empty record in the session storage anytime request.session was accessed and there was a session key provided in the request cookies th ... at didn't already have a session record. This could allow an attacker to easily create many new session records simply by sending repeated requests with unknown s ... ession keys, potentially filling up the session store or causing other users' session records to be evicted. The built-in session backends now create a session record only if the session is actually modified; empty ...
https://man.mtool.work/django/6.1/releases/1.8.3.html
ロギング 9959
ロギング 参考 ロギングの設定と利用 Django のロギングの概要 Django の logging モジュールは Python の 組み込み logging モジュールを継承しています。 Logging は、一般的なDjangoの django.setup() 関数の一部として設定されているため、明示的に無効に ... s points: during the loading of external GeoSpatial libraries (GEOS, GDAL, etc.) and when reporting errors. Each ERROR log record includes the caught exception and relevant contextual data. django.dispatch This logger is used in シグナル , specifically ... within the Signal class, to report issues when dispatching a signal to a connected receiver. The ERROR log record includes the caught exception as exc_info and adds the following extra context: receiver : レシーバの名前。 err : レシーバ ... フィルタリングするために、フィルタ関数を作成します。 from django.http import UnreadablePostError def skip_unreadable_post ( record ): if record . exc_info : exc_type , exc_value = record . exc_info [: 2 ] if isinstance ( exc_value , UnreadablePostError ...
https://man.mtool.work/django/6.1/ref/logging.html
Django 1.11.27 リリースノート 9079
Django 1.11.27 リリースノート December 18, 2019 Django 1.11.27 fixes a security issue and a data loss bug in 1.11.26. CVE-2019-19844: Potential account hijack via password reset form By submitting a suitably crafted email address making use ... Report 36, section 2.11.2(B)(2) . Upon a match, the email containing the reset token will be sent to the email address on record rather than the submitted address. バグ修正 Fixed a data loss possibility in SplitArrayField . When using with ArrayField( ...
https://man.mtool.work/django/6.1/releases/1.11.27.html
Django 2.2.9 リリースノート 9079
Django 2.2.9 リリースノート December 18, 2019 Django 2.2.9 fixes a security issue and a data loss bug in 2.2.8. CVE-2019-19844: Potential account hijack via password reset form By submitting a suitably crafted email address making use of Un ... Report 36, section 2.11.2(B)(2) . Upon a match, the email containing the reset token will be sent to the email address on record rather than the submitted address. バグ修正 Fixed a data loss possibility in SplitArrayField . When using with ArrayField( ...
https://man.mtool.work/django/6.1/releases/2.2.9.html
Django 3.0.1 リリースノート 8569
Django 3.0.1 リリースノート December 18, 2019 Django 3.0.1 では、セキュリティの問題1件と 3.0 におけるいくつかのバグを修正しました。 CVE-2019-19844: Potential account hijack via password reset form By submitting a suitably crafted email addr ... Report 36, section 2.11.2(B)(2) . Upon a match, the email containing the reset token will be sent to the email address on record rather than the submitted address. バグ修正 Fixed a regression in Django 3.0 by restoring the ability to use Django inside ...
https://man.mtool.work/django/6.1/releases/3.0.1.html
クラスベースのビューでミックスイン (mixin) を使用する 7513
クラスベースのビューでミックスイン (mixin) を使用する 注意 This is an advanced topic. A working knowledge of Django's class-based views is advised before exploring these techniques. Django のビルトインのクラスベースビューではたくさんの機能が ... m django.views import View from django.views.generic.detail import SingleObjectMixin from books.models import Author class RecordInterestView ( SingleObjectMixin , View ): """Records the current user's interest in an author.""" model = Author def post ... return HttpResponseForbidden () # Look up the author we're interested in. self . object = self . get_object () # Actually record interest somehow here! return HttpResponseRedirect ( reverse ( "author-detail" , kwargs = { "pk" : self . object . pk }) ) ... ックスインが行ってくれます。 これをURLにフックするのは簡単です: urls.py from django.urls import path from books.views import RecordInterestView urlpatterns = [ # ... path ( "author/<int:pk>/interest/" , RecordInterestView . as_view (), name = "author-int ...
https://man.mtool.work/django/6.1/topics/class-based-views/mixins.html
エラーレポートの管理 7178
エラーレポートの管理 サイトを公開している場合、 DEBUG 設定は常にオフにしておかなければなりません。これにより、サーバー動作は高速になり、エラーページによって明らかになるアプリケーションの詳細が悪意あるユーザーに漏れるのを防ぎます。 しかし、 ... ws.decorators.debug import sensitive_post_parameters @sensitive_post_parameters ( "pass_word" , "credit_card_number" ) def record_user_profile ( request ): UserProfile . create ( user = request . user , password = request . POST [ "pass_word" ], credit ...
https://man.mtool.work/django/6.1/howto/error-reporting.html
設計思想 7178
設計思想 このドキュメントでは、 Django の開発者たちがフレームワークの構築に取り入れ ている根本的な設計思想についていくつか解説します。それによって、 Django の これまでの経緯に説明を与えつつ、将来への指針にしたいと思います。 概要 疎結合 Djan ... よって振る舞いが変わるようにします。 関連するドメインのロジックをすべて含める モジュールは、マーティン・ファウラーの Active Record のデザインパターンに従い、「オブジェクト」のすべての側面をカプセル化する必要がります。 その理由は、モジュール (人間に読みや ...
https://man.mtool.work/django/6.1/misc/design-philosophies.html
PREV 1 2 NEXT