検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 86 for instances (0.016 sec.)
クエリを作成する — Django 4.0.6 ドキュメント 8004
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... of an Entry instance entry , assuming appropriate instances of Entry and Blog are already saved to the databas ... AttributeError: "Manager isn't accessible via Blog instances." 注釈 Manager はモデルのインスタンスでなく、モデル ... Q . オブジェクトを比較する ¶ To compare two model instances, use the standard Python comparison operator, the ... ough there is no built-in method for copying model instances, it is possible to easily create new instance with ...
https://man.plustar.jp/django/topics/db/queries.html - [similar]
Advanced testing topics — Django 4.0.6 ドキュメント 7829
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... only difference being that it returns ASGIRequest instances rather than WSGIRequest instances. All of its meth ... he database isn't fully flushed, if a test creates instances of models not included in available_apps , they wi ... で非推奨: extra_tests is a list of extra TestCase instances to add to the suite that is executed by the test r ... で非推奨: extra_tests is a list of extra TestCase instances to add to the suite that is executed by the test r ...
https://man.plustar.jp/django/topics/testing/advanced.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 7654
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... rySet that returns dictionaries, rather than model instances, when used as an iterable. Each of those dictionar ... ) , intersection() , and difference() return model instances of the type of the first QuerySet even if the argu ... t that has deferred fields will still return model instances. Each deferred field will be retrieved from the da ... m the abstract model. 注釈 When calling save() for instances with deferred fields, only the loaded fields will ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
マイグレーション — Django 4.0.6 ドキュメント 7654
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ll be used for new installs. Once you are sure all instances of the codebase have applied the migrations you sq ... replaces and distribute this change to all running instances of your application, making sure that they run mig ... ンス functools.partial() and functools.partialmethod instances which have serializable func , args , and keywords ... b.PosixPath to pathlib.PurePosixPath . os.PathLike instances, e.g. os.DirEntry , which are converted to str or ...
https://man.plustar.jp/django/topics/migrations.html - [similar]
Django 3.2 release notes — Django 4.0.6 ドキュメント 7479
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ncrete path objects from pathlib , and os.PathLike instances. モデル ¶ The new no_key parameter for QuerySet.se ... tetime.timedelta , decimal.Decimal , and uuid.UUID instances. As a consequence, resolving an output_field for d ... rather than _default_manager to check that related instances exist. When an application defines an AppConfig su ... erator now correctly distinguishes inherited field instances across models. Additionally, the ordering of such ...
https://man.plustar.jp/django/releases/3.2.html - [similar]
クエリー式 — Django 4.0.6 ドキュメント 7304
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... b () As well as being used in operations on single instances as above, F() can be used on QuerySets of object i ... d isn't made until the outer queryset is resolved. Instances of OuterRef may be used in conjunction with nested ... instances of Subquery to refer to a containing queryset that ... would need to be within a nested pair of Subquery instances to resolve correctly: >>> Book . objects . filter ...
https://man.plustar.jp/django/ref/models/expressions.html - [similar]
モデルフィールドリファレンス — Django 4.0.6 ドキュメント 7304
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ould be used as the default value in all new model instances. Instead, wrap the desired default in a callable. ... eats. For fields like ForeignKey that map to model instances, defaults should be the value of the field they re ... ence ( pk unless to_field is set) instead of model instances. The default value is used when new model instance ... t are equivalent to XSS or CSRF attacks. FileField instances are created in your database as varchar columns wi ...
https://man.plustar.jp/django/ref/models/fields.html - [similar]
マネージャ — Django 4.0.6 ドキュメント 7304
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... n the same model. You can attach as many Manager() instances to a model as you'd like. This is a non-repetitive ... deleted field and a base manager that filters out instances with deleted=True , a queryset like Choice.objects ... , it is unlikely that you will inadvertently make instances of your Manager uncopyable. However, if you're ove ...
https://man.plustar.jp/django/topics/db/managers.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 7142
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... REPLACE function calls. You can now refresh model instances by using Model.refresh_from_db() . You can now get ... s a few additional methods like getvalue() so that instances can be used as stream objects. The new HttpRespons ... If you require allowing the assignment of unsaved instances (the old behavior) and aren't concerned about the ... at urlpatterns is a list of django.conf.urls.url() instances. For example: from django.conf.urls import url fro ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
素の SQL 文の実行 — Django 4.0.6 ドキュメント 7142
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ager.raw() to perform raw queries and return model instances , or you can avoid the model layer entirely and ex ... ated over like a normal QuerySet to provide object instances. 例を示す事で最も簡単に説明できます。以下のモデルに ... eld. Django uses the primary key to identify model instances, so it must always be included in a raw query. A F ...
https://man.plustar.jp/django/topics/db/sql.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 NEXT