Results of 31 - 40 of about 76 for Middleware (0.054 sec.)
- Django 1.8 リリースノート — Django 4.0.6 ドキュメント 6774
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
y library have been integrated into Django. django.middleware.security.SecurityMiddleware provides several secur ...
ependencies in a project. ミドルウェア ¶ The CommonMiddleware.response_redirect_class attribute allows you to cu ...
stomize the redirects issued by the middleware. A debug message will be logged to the django.requ ...
est logger when a middleware raises a MiddlewareNotUsed exception in DEBUG mode ...
-
https://man.plustar.jp/django/releases/1.8.html
- [similar]
- The "sites" framework — Django 4.0.6 ドキュメント 6607
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
model, before you define CurrentSiteManager . Site middleware ¶ If you often use this pattern: from django.contr ...
... To avoid repetitions, add django.contrib.sites.middleware.CurrentSiteMiddleware to MIDDLEWARE . The middlewa ...
ed, you specify its Site , and the FlatpageFallbackMiddleware checks the current site in retrieving flatpages to ...
he current Site object The CurrentSiteManager Site middleware How Django uses the sites framework RequestSite ob ...
-
https://man.plustar.jp/django/ref/contrib/sites.html
- [similar]
- リクエストとレスポンスのオブジェクト — Django 4.0.6 ドキュメント 6607
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
which means it's available in all views but not in middleware which are executed before URL resolving takes plac ...
す。もし、リクエストに属性が設定されていない場合は、 MIDDLEWARE リスト中に適切なミドルウェアが含まれているかを確認 ...
してください。 HttpRequest. session ¶ SessionMiddleware は、現在のセッションを表す、読み書き可能でディクシ ...
ェクトを設定します。 HttpRequest. site ¶ CurrentSiteMiddleware は、現在のサイトを表す Site または RequestSite のイ ...
-
https://man.plustar.jp/django/ref/request-response.html
- [similar]
- WSGI とともにデプロイするには — Django 4.0.6 ドキュメント 6566
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
を実行して環境変数の値を上書きします。 Applying WSGI middleware ¶ To apply WSGI middleware you can wrap the applic ...
ジェクト Settings モジュールを設定する Applying WSGI middleware 前のトピックへ How to deploy Django 次のトピックへ ...
-
https://man.plustar.jp/django/howto/deployment/wsgi/index.html
- [similar]
- How to deploy Django — Django 4.0.6 ドキュメント 6524
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ジェクト Settings モジュールを設定する Applying WSGI middleware How to deploy with ASGI How to use Django with Dap ...
ジェクト Settings モジュールを設定する Applying ASGI middleware デプロイチェックリスト manage.py check --deploy を ...
-
https://man.plustar.jp/django/howto/deployment/index.html
- [similar]
- メッセージフレームワーク — Django 4.0.6 ドキュメント 6524
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
rib.messages' は、 INSTALLED_APPS の中にあります。 MIDDLEWARE は 'django.contrib.sessions.middleware.SessionMidd ...
leware' と 'django.contrib.messages.middleware.MessageMiddleware' を含みます。 デフォルトの stora ...
backend は sessions に依存します。そのため SessionMiddleware を有効にして、 MIDDLEWARE 内で MessageMiddleware よ ...
INSTALLED_APPS から 'django.contrib.messages' を、 MIDDLEWARE から MessageMiddleware 行を、そして TEMPLATES から ...
-
https://man.plustar.jp/django/ref/contrib/messages.html
- [similar]
- Django 1.5 release notes — Django 4.0.6 ドキュメント 6524
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tor to HttpResponse . But this was unreliable: any middleware that accessed the content attribute would consume ...
ingHttpResponse does not have a content attribute, middleware that needs access to the response content must tes ...
erences (spaces, attribute order, etc.). RemoteUserMiddleware now forces logout when the REMOTE_USER header disa ...
o the client. If you do, you should consider using middleware instead. 注釈 Some WSGI servers and middleware do ...
-
https://man.plustar.jp/django/releases/1.5.html
- [similar]
- Django を使う — Django 4.0.6 ドキュメント 6524
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
関数 ジェネリックビュー (generic view) ミドルウェア (Middleware) セッションの使いかた フォームを使う HTML フォーム ...
rs Controlling cache: Using other headers Order of MIDDLEWARE 条件付きビュー condition デコレータ 1つの値を計算す ...
TTP メソッドでデコレータを使用する Comparison with middleware conditional processing 暗号署名 SECRET_KEY を守る ...
-
https://man.plustar.jp/django/topics/index.html
- [similar]
- Django 1.2 リリースノート — Django 4.0.6 ドキュメント 6441
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
major changes you should be aware of: CsrfResponseMiddleware and CsrfMiddleware have been deprecated and will b ...
o 1.3 or older to find these instructions. CsrfViewMiddleware is included in MIDDLEWARE_CLASSES by default. This ...
POST requests need to be written to work with the middleware. Instructions on how to do this are found in the C ...
_control and anything created using decorator_from_middleware . if tag changes ¶ Due to new features in the if t ...
-
https://man.plustar.jp/django/releases/1.2.html
- [similar]
- Database instrumentation — Django 4.0.6 ドキュメント 6400
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
h prefetched data). The wrappers are modeled after middleware -- they are callables which take another callable ...
er code, and so don't need a separate factory like middleware do. Installing a wrapper is done in a context mana ...
-
https://man.plustar.jp/django/topics/db/instrumentation.html
- [similar]