Results of 31 - 40 of about 56 for decorator (0.015 sec.)
- テストツール — Django 4.0.6 ドキュメント 6836
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
st method, Django provides the override_settings() decorator (see PEP 318 ). It's used like this: from django.t ...
s ( response , '/other/login/?next=/sekrit/' ) The decorator can also be applied to TestCase classes: from djan ...
¶ Likewise, Django provides the modify_settings() decorator: from django.test import TestCase , modify_setting ...
: response = self . client . get ( '/' ) # ... The decorator can also be applied to test case classes: from dja ...
-
https://man.plustar.jp/django/topics/testing/tools.html
- [similar]
- Django 1.5.2 release notes — Django 4.0.6 ドキュメント 6777
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Fixed an obscure bug with the override_settings() decorator. If you hit an AttributeError: 'Settings' object h ...
-
https://man.plustar.jp/django/releases/1.5.2.html
- [similar]
- Django 2.1 リリースノート — Django 4.0.6 ドキュメント 6777
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
t into the database), use the new @no_translations decorator . Management commands no longer allow the abbrevia ...
itional argument. The django.db.models.permalink() decorator is removed. The USE_ETAGS setting is removed. Comm ...
-
https://man.plustar.jp/django/releases/2.1.html
- [similar]
- 非同期サポート — Django 4.0.6 ドキュメント 6777
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ps it. Can be used as either a direct wrapper or a decorator: from asgiref.sync import async_to_sync async def ...
ps it. Can be used as either a direct wrapper or a decorator: from asgiref.sync import sync_to_async async_func ...
-
https://man.plustar.jp/django/topics/async.html
- [similar]
- Django 1.7.1 release notes — Django 4.0.6 ドキュメント 6704
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s to admin fields ( #23431 ). The @deconstructible decorator now fails with a ValueError if the decorated objec ...
-
https://man.plustar.jp/django/releases/1.7.1.html
- [similar]
- Django 1.5 release notes — Django 4.0.6 ドキュメント 6645
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
for Quebec. It's an old abbreviation. The receiver decorator is now able to connect to more than one signal by ...
django.utils.encoding.python_2_unicode_compatible decorator instead. django.utils.itercompat.product ¶ The dja ...
-
https://man.plustar.jp/django/releases/1.5.html
- [similar]
- Django 1.8 リリースノート — Django 4.0.6 ドキュメント 6645
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
%%s . Custom Lookups can now be registered using a decorator pattern. The new Transform.bilateral attribute all ...
new FileResponse to stream files. The condition() decorator for conditional view processing now supports the I ...
and DATAFILE_TMP_MAXSIZE . The override_settings() decorator can now affect the master router in DATABASE_ROUTE ...
ing setUpClass / tearDownClass in test cases ¶ The decorators override_settings() and modify_settings() now act ...
-
https://man.plustar.jp/django/releases/1.8.html
- [similar]
- Django 1.9 リリースノート — Django 4.0.6 ドキュメント 6645
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
、クラスベースのビューに対して、 django.contrib.auth.decorators の機能を使用できるようになります。これらのミックス ...
シュされることををより確実に防ぐため、 django.views.decorators.cache.never_cache() がより積極的にヘッダを追加する ...
s と view_initkwargs 属性が追加されました。 method_decorator() がデコレータのタプルまたはリストで呼び出せるよう ...
django.contrib.auth.tests.utils.skipIfCustomUser() decorator is deprecated. With the test discovery changes in ...
-
https://man.plustar.jp/django/releases/1.9.html
- [similar]
- システムチェックフレームワーク — Django 4.0.6 ドキュメント 6645
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
can also use register as a function rather than a decorator by passing a callable object (usually a function) ...
-
https://man.plustar.jp/django/topics/checks.html
- [similar]
- django.db.utils — Django 4.0.6 ドキュメント 6571
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ass DatabaseErrorWrapper : """ Context manager and decorator that reraises backend-specific database exceptions ...
-
https://man.plustar.jp/django/_modules/django/db/utils.html
- [similar]