Results of 11 - 20 of about 39 for decorators (0.038 sec.)
- クリックジャッキング対策 — Django 4.0.6 ドキュメント 7674
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
django.http import HttpResponse from django.views.decorators.clickjacking import xframe_options_exempt @xframe_ ...
django.http import HttpResponse from django.views.decorators.clickjacking import xframe_options_deny from djang ...
o.views.decorators.clickjacking import xframe_options_sameorigin @xfr ...
-
https://man.plustar.jp/django/ref/clickjacking.html
- [similar]
- Django 3.2 release notes — Django 4.0.6 ドキュメント 7674
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
, see the documentation on caching in Django . New decorators for the admin site ¶ The new display() decorator a ...
gning the required attributes to the method. Using decorators has the advantage that these options are more disc ...
kips and django_test_expected_failures attributes. Decorators ¶ The new no_append_slash() decorator allows indiv ...
ary keys Functional indexes pymemcache support New decorators for the admin site マイナーな機能 django.contrib.a ...
-
https://man.plustar.jp/django/releases/3.2.html
- [similar]
- Django 4.0.1 release notes — Django 4.0.6 ドキュメント 7674
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ow use of a duck-typed HttpRequest in django.views.decorators.cache.cache_control() and never_cache() decorators ...
-
https://man.plustar.jp/django/releases/4.0.1.html
- [similar]
- Django 0.96 リリースノート — Django 4.0.6 ドキュメント 7549
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
useful application of this can be seen when using decorators; this change allows you to apply decorators to vie ...
nf.urls.defaults import * from django.contrib.auth.decorators import login_required from django.views.generic.li ...
-
https://man.plustar.jp/django/releases/0.96.html
- [similar]
- Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 7549
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
デコレータを利用できます: from django.contrib.auth.decorators import login_required @login_required def my_view ...
略可能な引数を受け取ります: from django.contrib.auth.decorators import login_required @login_required ( redirect_f ...
以下の例のように利用します: from django.contrib.auth.decorators import login_required @login_required ( login_url ...
ックが必要である)場合は、 django.contrib.admin.views.decorators.staff_member_required() デコレータが login_require ...
-
https://man.plustar.jp/django/topics/auth/default.html
- [similar]
- ファイルのアップロード — Django 4.0.6 ドキュメント 7549
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
てください。以下はコードの例です: from django.views.decorators.csrf import csrf_exempt , csrf_protect @csrf_exemp ...
esses the request. Example code: from django.utils.decorators import method_decorator from django.views import V ...
iew from django.views.decorators.csrf import csrf_exempt , csrf_protect @method_dec ...
でアップロードハンドラを修正する 前のトピックへ View decorators 次のトピックへ Django のショートカット関数 関連キー ...
-
https://man.plustar.jp/django/topics/http/file-uploads.html
- [similar]
- テストツール — Django 4.0.6 ドキュメント 7486
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
. get ( '/' ) # ... 注釈 When given a class, these decorators modify the class directly and return it; they don' ...
normal client creates. 警告 If you are using test decorators, they must be async-compatible to ensure they work ...
correctly. Django's built-in decorators will behave correctly, but third-party ones may ap ...
flow and not your test). If you need to use these decorators, then you should decorate your test methods with a ...
-
https://man.plustar.jp/django/topics/testing/tools.html
- [similar]
- 概要: モジュールコード — Django 4.0.6 ドキュメント 7314
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
atcher django.middleware.clickjacking django.utils.decorators django.utils.encoding django.utils.functional djan ...
-
https://man.plustar.jp/django/_modules/index.html
- [similar]
- Django 2.0.6 リリースノート — Django 4.0.6 ドキュメント 7314
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ession that broke custom template filters that use decorators ( #29400 ). Fixed detection of custom URL converte ...
-
https://man.plustar.jp/django/releases/2.0.6.html
- [similar]
- HTTP リクエストのハンドリング — Django 4.0.6 ドキュメント 7314
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
関する情報 URL ディスパッチャ ビューを記述する View decorators ファイルのアップロード Django のショートカット関数 ...
-
https://man.plustar.jp/django/topics/http/index.html
- [similar]