per page, with , order by , clip by
Results of 1 - 10 of about 19 for SessionMiddleware (0.003 sec.)
ミドルウェア 13165
ミドルウェア このドキュメントでは、Djangoに付属するすべてのミドルウェアコンポーネントについて説明します。それらの使用方法や独自のミドルウェアの作成方法についての情報は、 ミドルウェア使用ガイド を参照してください。 使用できる middleware Cach ... Django がリクエストが既に安全であるかどうかを正しく判断できない場合は、 SECURE_PROXY_SSL_HEADER 設定を行う必要があります。 Session middleware class SessionMiddleware [ソース] セッションのサポートを有効にします。詳しくは セッションのドキュメント を読んでください。 ... ルウェアが実行されないように、リストの先頭付近に置くべきです。 UpdateCacheMiddleware Vary ヘッダに変更を加えるミドルウェア ( SessionMiddleware , GZipMiddleware , LocaleMiddleware ) の前に置きます。 GZipMiddleware response body を変更・使用する可能性のあるミドルウェ ... アの前に置きます。 Vary ヘッダを修正するため、 UpdateCacheMiddleware の後に置きます。 SessionMiddleware CSRF_USE_SESSIONS を使用している場合、例えば PermissionDenied のようなエラービューをトリガーする例外を発生させる可能性のあ ...
https://man.mtool.work/django/6.1/ref/middleware.html
Django 1.4.22 リリースノート 10620
Django 1.4.22 リリースノート August 18, 2015 Django 1.4.22 fixes a security issue in 1.4.21. It also fixes support with pip 7+ by disabling wheel support. Older versions of 1.4 would silently build a broken wheel when installed with those v ... ing repeated requests, potentially filling up the session store or causing other users' session records to be evicted. The SessionMiddleware has been modified to no longer create empty session records, including when SESSION_SAVE_EVERY_REQUEST is active. Addition ...
https://man.mtool.work/django/6.1/releases/1.4.22.html
Django 1.7.10 リリースノート 10620
Django 1.7.10 リリースノート August 18, 2015 Django 1.7.10 fixes a security issue in 1.7.9. Denial-of-service possibility in logout() view by filling session store Previously, a session could be created when anonymously accessing the django ... ing repeated requests, potentially filling up the session store or causing other users' session records to be evicted. The SessionMiddleware has been modified to no longer create empty session records, including when SESSION_SAVE_EVERY_REQUEST is active. Addition ...
https://man.mtool.work/django/6.1/releases/1.7.10.html
Django 1.8.4 リリースノート 10296
Django 1.8.4 リリースノート August 18, 2015 Django 1.8.4 fixes a security issue and several bugs in 1.8.3. Denial-of-service possibility in logout() view by filling session store Previously, a session could be created when anonymously acces ... ing repeated requests, potentially filling up the session store or causing other users' session records to be evicted. The SessionMiddleware has been modified to no longer create empty session records, including when SESSION_SAVE_EVERY_REQUEST is active. バグ修正 ...
https://man.mtool.work/django/6.1/releases/1.8.4.html
Django 1.10.3 リリースノート 9340
Django 1.10.3 リリースノート November 1, 2016 Django 1.10.3 fixes two security issues and several bugs in 1.10.2. User with hardcoded password created when running tests on Oracle When running tests with an Oracle database, Django creates a ... s the language to fix a use case for prefix_default_language=False ( #27063 ). Replaced a possibly incorrect redirect from SessionMiddleware when a session is destroyed in a concurrent request with a SuspiciousOperation to indicate that the request can't be compl ...
https://man.mtool.work/django/6.1/releases/1.10.3.html
Django 2.2.1 リリースノート 9340
Django 2.2.1 リリースノート May 1, 2019 Django 2.2.1 fixes several bugs in 2.2. バグ修正 Fixed a regression in Django 2.1 that caused the incorrect quoting of database user password when using dbshell on Oracle ( #30307 ). Added compatibili ... ot be imported ( #30318 ). Relaxed the system check added in Django 2.2 for the admin app's dependencies to reallow use of SessionMiddleware subclasses, rather than requiring django.contrib.sessions to be in INSTALLED_APPS ( #30312 ). Increased the default timeou ...
https://man.mtool.work/django/6.1/releases/2.2.1.html
セッションの使いかた 9340
セッションの使いかた Django は、匿名のセッションをフルサポートしています。このセッションフレームワークを使えば、任意のデータを、サイトの訪問者ごとに保存し、取得できます。データはサーバー側に保存され、クッキーの送受信によって抽象化します。ク ... 。 セッションの機能を有効にするには、次のように設定を行います。 MIDDLEWARE 設定を編集し 'django.contrib.sessions.middleware.SessionMiddleware' を含むようにする。 django-admin startproject で作られるデフォルトの settings.py は SessionMiddleware が有効化されています ... 。 セッションを使いたくない場合は、 MIDDLEWARE 内の SessionMiddleware 行と INSTALLED_APPS 内の 'django.contrib.sessions' を削除しても構いません。これで、オーバーヘッドが少しだけ短縮されます。 ... す。 パフォーマンス 最後に、クッキーのサイズが大きくなると、サイトの速度にも大きな影響があります。 ビューでセッションを使う SessionMiddleware を有効にすれば、それぞれの HttpRequest オブジェクト(Django のビュー関数に渡される最初の引数)は、辞書ライクなオブジェクト ...
https://man.mtool.work/django/6.1/topics/http/sessions.html
Django でのユーザー認証 8691
Django でのユーザー認証 Django はユーザー認証システムを搭載しています。ユーザーアカウント、グループ、パーミッション、そしてCookieベースのユーザーセッションを制御します。このドキュメントのこのセクションでは、デフォルトの実装がどう機能するか、 ... です。パーミッションをあなたが作成したモデルと紐付けられるようにします。 そして、あなたの MIDDLEWARE 内にある以下の項目です: SessionMiddleware は、リクエストを横断する セッション を管理します。 AuthenticationMiddleware は、セッションを使用してユーザーをリクエストに ...
https://man.mtool.work/django/6.1/topics/auth/
メッセージフレームワーク 8383
メッセージフレームワーク Web アプリケーションでは非常に一般的に、フォームやその他のユーザーインプットのプロセスの後、ユーザーに向けて一過性の通知メッセージ ("フラッシュメッセージ" とも言われます) を表示する必要があります。 Django は、anonym ... んでいます: 'django.contrib.messages' は、 INSTALLED_APPS の中にあります。 MIDDLEWARE は 'django.contrib.sessions.middleware.SessionMiddleware' と 'django.contrib.messages.middleware.MessageMiddleware' を含みます。 デフォルトの ストレージバックエンド は sessions に ... 依存します。そのため SessionMiddleware を有効にして、 MIDDLEWARE 内で MessageMiddleware より前に記述する必要があります。 TEMPLATES 設定で定義した DjangoTemplates ...
https://man.mtool.work/django/6.1/ref/contrib/messages.html
ミドルウェア (Middleware) 8383
ミドルウェア (Middleware) ミドルウェアは、Django のリクエスト/レスポンス処理にフックを加えるためのフレームワークです。これは、Django の入力あるいは出力をグローバルに置き換えるための、軽量で低レベルの「プラグイン」システムです。 各ミドルウェ ... されるデフォルト値です: MIDDLEWARE = [ "django.middleware.security.SecurityMiddleware" , "django.contrib.sessions.middleware.SessionMiddleware" , "django.middleware.common.CommonMiddleware" , "django.middleware.csrf.CsrfViewMiddleware" , "django.contrib.auth.middle ... 存するため、 MIDDLEWARE の順番は重要です。 AuthenticationMiddleware はセッション内に認証済みユーザを保持します。したがって、 SessionMiddleware の後に起動する必要があります。Django のミドルウェアクラスの順番については、 Middleware の順序 を参照してください。 ミドルウ ...
https://man.mtool.work/django/6.1/topics/http/middleware.html
PREV 1 2 NEXT