検索

phrase: max: clip:
target: order:
Results of 1 - 8 of about 8 for MultipleObjectsReturned (0.024 sec.)
Model クラスのリファレンス — Django 4.0.6 ドキュメント 13212
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ass of django.core.exceptions.ObjectDoesNotExist . MultipleObjectsReturned ¶ exception Model. MultipleObjectsReturned ¶ This ... are found for the given lookups. Django provides a MultipleObjectsReturned exception as an attribute of each model class to i ... exception is a subclass of django.core.exceptions.MultipleObjectsReturned . objects ¶ Model. objects ¶ Each non-abstract Mod ... 目次 Model クラスのリファレンス 属性 DoesNotExist MultipleObjectsReturned objects 前のトピックへ Related objects reference 次 ...
https://man.plustar.jp/django/ref/models/class.html - [similar]
Django の例外 — Django 4.0.6 ドキュメント 10682
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... not exist on the model or on the model's parents. MultipleObjectsReturned ¶ exception MultipleObjectsReturned [ソース] ¶ The ... base class for Model.MultipleObjectsReturned exceptions. A try/except for MultipleObjectsReturn ... ed will catch MultipleObjectsReturned exceptions for all models. See get() . SuspiciousO ... bjectDoesNotExist EmptyResultSet FieldDoesNotExist MultipleObjectsReturned SuspiciousOperation PermissionDenied ViewDoesNotEx ...
https://man.plustar.jp/django/ref/exceptions.html - [similar]
django.core.exceptions — Django 4.0.6 ドキュメント 8241
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ilent_variable_failure = True [ドキュメント] class MultipleObjectsReturned ( Exception ): """The query returned multiple obje ...
https://man.plustar.jp/django/_modules/django/core/exceptions.html - [similar]
Porting your apps from Django 0.96 to 1.0 — Django 4.0.6 ドキュメント 8241
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... erent exception from get() ¶ Managers now return a MultipleObjectsReturned exception instead of AssertionError : Old (0.96): ... try : Model . objects . get ( ... ) except Model . MultipleObjectsReturned : handle_the_error () LazyDate has been fired ¶ Th ...
https://man.plustar.jp/django/releases/1.0-porting-guide.html - [similar]
Django のショートカット関数 — Django 4.0.6 ドキュメント 8151
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... _set , title = 'Matilda' ) Note: As with get() , a MultipleObjectsReturned exception will be raised if more than one object i ...
https://man.plustar.jp/django/topics/http/shortcuts.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 8061
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... et() finds more than one object, it raises a Model.MultipleObjectsReturned exception: Entry . objects . get ( name = 'A Dupli ... cated Name' ) # raises Entry.MultipleObjectsReturned Both these exception classes are attributes of the ... multiple objects are found, get_or_create() raises MultipleObjectsReturned . If an object is not found, get_or_create() will ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
索引 — Django 4.0.6 ドキュメント 7862
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... (InlineModelAdmin の属性) Model.DoesNotExist Model.MultipleObjectsReturned model_class() (ContentType のメソッド) ModelAdmin ... クラス) MultipleHiddenInput (django.forms のクラス) MultipleObjectsReturned MultiPoint (django.contrib.gis.geos のクラス) Mult ...
https://man.plustar.jp/django/genindex.html - [similar]
クエリを作成する — Django 4.0.6 ドキュメント 7772
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... この場合には、やはり同じクエリのモデルクラスの属性の MultipleObjectsReturned 例外が起こります。 その他の QuerySet メソッド ¶ デ ...
https://man.plustar.jp/django/topics/db/queries.html - [similar]
PREV 1 NEXT