Results of 21 - 30 of about 53 for obj (0.014 sec.)
- システムチェックフレームワーク — Django 4.0.6 ドキュメント 7099
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
¶ class CheckMessage ( level , msg , hint = None , obj = None , id = None ) [ソース] ¶ The warnings and e ...
nt can be omitted, or a value of None can be used. obj Optional. An object providing context for the mess ...
, the model where the problem was discovered). The object should be a model, field, or manager or any oth ...
er object that defines a __str__() method. The method is ...
-
https://man.plustar.jp/django/ref/checks.html
- [similar]
- システムチェックフレームワーク — Django 4.0.6 ドキュメント 7099
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
. append ( Error ( 'an error' , hint = 'A hint.' , obj = checked_object , id = 'myapp.E001' , ) ) return ...
tion rather than a decorator by passing a callable object (usually a function) as the first argument to r ...
n max.' , hint = 'Decrease min or increase max.' , obj = self , id = 'myapp.E001' , ) ] # When no error, ...
m django.core.checks import Error errors = checked_object . check () expected_errors = [ Error ( 'an erro ...
-
https://man.plustar.jp/django/topics/checks.html
- [similar]
- データベースアクセスの最適化 — Django 4.0.6 ドキュメント 6921
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
here is caching of the result of attributes on ORM objects. In general, attributes that are not callable ...
ming the example blog models : >>> entry = Entry . objects . get ( id = 1 ) >>> entry . blog # Blog objec ...
毎回 DB の検索を引き起こします: >>> entry = Entry . objects . get ( id = 1 ) >>> entry . authors . all () ...
sing the example blog models : >>> entry = Entry . objects . get ( id = 10 ) 上記は以下よりも高速です: >> ...
-
https://man.plustar.jp/django/topics/db/optimization.html
- [similar]
- ビルトインのクラスベースのジェネリックビュー — Django 4.0.6 ドキュメント 6876
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
プレートは、すべてのパブリッシャーオブジェクトを含むobject_listという変数を含むコンテキストに対してレンダリ ...
h2 > Publishers </ h2 > < ul > {% for publisher in object_list %} < li > {{ publisher.name }} </ li > {% ...
出版社をリストするテンプレートが、すべての出版社を``object_list`` という名前の変数に格納していたことに気づ ...
テキストを入力することができます。これはデフォルトの object_list エントリに加えて提供されますが、全く同じデ ...
-
https://man.plustar.jp/django/topics/class-based-views/generic-display.html
- [similar]
- The "sites" framework — Django 4.0.6 ドキュメント 6831
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nal "sites" framework. It's a hook for associating objects and functionality to particular websites, and ...
E_ID setting specifies the database ID of the Site object associated with that particular settings file. ...
tail ( request , article_id ): try : a = Article . objects . get ( id = article_id , sites__id = get_curr ...
it is not. If you don't have access to the request object, you can use the get_current() method of the Si ...
-
https://man.plustar.jp/django/ref/contrib/sites.html
- [similar]
- django.core.paginator — Django 4.0.6 ドキュメント 6787
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ranslation import gettext_lazy as _ class UnorderedObjectListWarning ( RuntimeWarning ): pass [ドキュメン ...
9, 10]. ELLIPSIS = _ ( "…" ) def __init__ ( self , object_list , per_page , orphans = 0 , allow_empty_fir ...
st_page = True ): self . object_list = object_list self . _check_object_list_is ...
メント] def page ( self , number ): """Return a Page object for the given 1-based page number.""" number = ...
-
https://man.plustar.jp/django/_modules/django/core/paginator.html
- [similar]
- Generic date ビュー — Django 4.0.6 ドキュメント 6787
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ん。 継承元 (MRO) django.views.generic.list.MultipleObjectTemplateResponseMixin django.views.generic.base. ...
BaseDateListView django.views.generic.list.MultipleObjectMixin django.views.generic.dates.DateMixin djang ...
stView を通じた) django.views.generic.list.MultipleObjectMixin によって提供されたコンテキストに加えて、テ ...
で表示されます。 ノート デフォルトの 最新 の context_object_name を使います。 デフォルトの _archive の temp ...
-
https://man.plustar.jp/django/ref/class-based-views/generic-date-based.html
- [similar]
- Django Deprecation Timeline — Django 4.0.6 ドキュメント 6742
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
re details on these changes. Support for assigning objects which don't support creating deep copies with ...
dmin.has_add_permission() to be defined without an obj argument will be removed. 2.1 ¶ See the Django 1.1 ...
ion namespace will be removed. Field._get_val_from_obj() will be removed in favor of Field.value_from_obj ...
e contrib.auth views will be removed. The callable_obj keyword argument to SimpleTestCase.assertRaisesMes ...
-
https://man.plustar.jp/django/internals/deprecation.html
- [similar]
- Django 2.1.5 リリースノート — Django 4.0.6 ドキュメント 6742
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ermission() is incorrectly called with a non- None obj argument during an object add ( #30050 ). 目次 Dja ...
-
https://man.plustar.jp/django/releases/2.1.5.html
- [similar]
- Django 2.1.6 リリースノート — Django 4.0.6 ドキュメント 6742
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ted using scientific notation. Bugfixes ¶ Made the obj argument of InlineModelAdmin.has_add_permission() ...
-
https://man.plustar.jp/django/releases/2.1.6.html
- [similar]