Results of 41 - 50 of about 56 for decorator (0.032 sec.)
- Submitting patches — Django 4.0.6 ドキュメント 6571
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e deprecated behavior by using the ignore_warnings decorator, either at the test or class level: In a particula ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/submitting-pat...
- [similar]
- Django Deprecation Timeline — Django 4.0.6 ドキュメント 6571
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
itional argument. The django.db.models.permalink() decorator will be removed. The USE_ETAGS setting will be rem ...
django.contrib.auth.tests.utils.skipIfCustomUser() decorator will be removed. The GeoManager and GeoQuerySet cl ...
APIs will be removed: TransactionMiddleware , the decorators and context managers autocommit , commit_on_succe ...
ead. The csrf_response_exempt and csrf_view_exempt decorators will be removed. Since 1.4 csrf_response_exempt h ...
-
https://man.plustar.jp/django/internals/deprecation.html
- [similar]
- 翻訳 — Django 4.0.6 ドキュメント 6571
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Model methods description argument to the @display decorator ¶ For model methods, you can provide translations ...
ite with the description argument to the display() decorator: from django.contrib import admin from django.db i ...
でビューをマッピングしてください: from django.views.decorators.cache import cache_page from django.views.i18n im ...
eady covered. Otherwise, you can apply conditional decorators . In the following example, the cache is invalida ...
-
https://man.plustar.jp/django/topics/i18n/translation.html
- [similar]
- asgiref.sync — Django 4.0.6 ドキュメント 6512
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
untimeError : return None # Lowercase aliases (and decorator friendliness) async_to_sync = AsyncToSync @overloa ...
-
https://man.plustar.jp/django/_modules/asgiref/sync.html
- [similar]
- django.utils.html — Django 4.0.6 ドキュメント 6512
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
" ) [ドキュメント] def html_safe ( klass ): """ A decorator that defines the __html__ method. This helps non-D ...
-
https://man.plustar.jp/django/_modules/django/utils/html.html
- [similar]
- 索引 — Django 4.0.6 ドキュメント 6512
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ns のクラス) async_only_middleware() (django.utils.decorators モジュール) async_to_sync() (asgiref.sync モジュー ...
C cache template tag cache_control() (django.views.decorators.cache モジュール) cache_key_prefix (backends.cach ...
UniqueConstraint の属性) condition() (django.views.decorators.http モジュール) conditional_escape() (django.uti ...
_COOKIE_SECURE setting csrf_exempt() (django.views.decorators.csrf モジュール) CSRF_FAILURE_VIEW setting CSRF_H ...
-
https://man.plustar.jp/django/genindex.html
- [similar]
- django-admin と manage.py — Django 4.0.6 ドキュメント 6512
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
andler , sender = MyModel ) You could also write a decorator to encapsulate this logic: from functools import w ...
s def disable_for_loaddata ( signal_handler ): """ Decorator that turns off signal handlers when loading fixtur ...
-
https://man.plustar.jp/django/ref/django-admin.html
- [similar]
- django.core.management.base — Django 4.0.6 ドキュメント 6453
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
thonpath ) def no_translations ( handle_func ): """Decorator that forces a command to run with translations dea ...
-
https://man.plustar.jp/django/_modules/django/core/management/base.html
- [similar]
- The sitemap framework — Django 4.0.6 ドキュメント 6453
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
iew -- for example, if it's wrapped with a caching decorator -- you must name your sitemap view and pass sitema ...
s import views as sitemaps_views from django.views.decorators.cache import cache_page urlpatterns = [ path ( 's ...
-
https://man.plustar.jp/django/ref/contrib/sitemaps.html
- [similar]
- Signals — Django 4.0.6 ドキュメント 6453
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ext manager or the django.test.override_settings() decorator/context manager. It's actually sent twice: when th ...
-
https://man.plustar.jp/django/ref/signals.html
- [similar]