検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 80 for primary (0.042 sec.)
Django 3.2 release notes — Django 4.0.6 ドキュメント 8109
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... for full details. Customizing type of auto-created primary keys ¶ When defining a model, if no field in a mod ... el is defined with primary_key=True an implicit primary key is added. The typ ... e of this implicit primary key can now be controlled via the DEFAULT_AUTO_FIE ... _auto_field attribute. No more needing to override primary keys in all models. Maintaining the historical beh ...
https://man.plustar.jp/django/releases/3.2.html - [similar]
Django 1.8.3 リリースノート — Django 4.0.6 ドキュメント 8013
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ck of unique constraint when changing a field from primary_key=True to unique=True ( #24893 ). Fixed queryset ... abases other than PostgreSQL for models using UUID primary keys ( #24912 ). Fixed removing unique_together co ... orms that use a parent object that has a UUIDField primary key and a child object that has an AutoField prima ...
https://man.plustar.jp/django/releases/1.8.3.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 7835
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... k for them. You can never defer the loading of the primary key. If you are using select_related() to retrieve ... er the loading of the field that connects from the primary model to the related one, doing so will result in ... se lookups that are guaranteed unique, such as the primary key or fields in a unique constraint. For example: ... out this. However, if your model contains a manual primary key value that you set and if that value already e ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
Advanced testing topics — Django 4.0.6 ドキュメント 7657
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ternal URL. Tests and multiple databases ¶ Testing primary/replica configurations ¶ If you're testing a multi ... ple database configuration with primary/replica (referred to as master/slave by some datab ... replication, and as a result, data created on the primary won't be seen on the replica. To compensate for th ... ckends.mysql' , 'NAME' : 'myproject' , 'HOST' : 'dbprimary' , # ... plus some other settings }, 'replica' : { ...
https://man.plustar.jp/django/topics/testing/advanced.html - [similar]
一対一 (one-to-one) 関係 — Django 4.0.6 ドキュメント 7479
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... oOneField ( Place , on_delete = models . CASCADE , primary_key = True , ) serves_hot_dogs = models . BooleanF ... taurant. Pass the "parent" object as this object's primary key: >>> r = Restaurant ( place = p1 , serves_hot_ ... ce using assignment notation. Because place is the primary key on Restaurant, the save will create a new rest ...
https://man.plustar.jp/django/topics/db/examples/one_to_one.html - [similar]
システムチェックフレームワーク — Django 4.0.6 ドキュメント 7300
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... index must be None , True or False . fields.E007 : Primary keys must not have null=True . fields.E008 : All v ... ield instances. fields.E100 : AutoField s must set primary_key=True. fields.E110 : BooleanField s do not acce ... is check is removed in Django 1.11 . fields.E201 : primary_key is not a valid argument for a FileField . fiel ... nly be used as a field name if the field also sets primary_key=True . models.E005 : The field <field name> fr ...
https://man.plustar.jp/django/ref/checks.html - [similar]
Related objects reference — Django 4.0.6 ドキュメント 7205
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s either model instances or field values, normally primary keys, as the *objs argument. Use the through_defau ... s either model instances or field values, normally primary keys, as the *objs argument. For ForeignKey object ... f either model instances or field values, normally primary keys, as the objs argument. Use the through_defaul ...
https://man.plustar.jp/django/ref/models/relations.html - [similar]
Django 1.11.3 リリースノート — Django 4.0.6 ドキュメント 7205
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... inlines when a model has an inherited non-editable primary key ( #27967 ). Fixed QuerySet.union() , intersect ... te using the |stringformat:'s' filter. Prevented a primary key alteration from adding a foreign key constrain ...
https://man.plustar.jp/django/releases/1.11.3.html - [similar]
はじめての Django アプリ作成、その2 — Django 4.0.6 ドキュメント 7027
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... EATE TABLE "polls_question" ( "id" serial NOT NULL PRIMARY KEY , "question_text" varchar ( 200 ) NOT NULL , " ... CREATE TABLE "polls_choice" ( "id" serial NOT NULL PRIMARY KEY , "choice_text" varchar ( 200 ) NOT NULL , "vo ... されます。 (この挙動はオーバライドできます) 主キー (primary key, ID) は自動的に追加されます (この挙動もオーバラ ... ent (MySQL)、 serial (PostgreSQL) もしくは integer primary key autoincrement (SQLite) のようなデータベースに特 ...
https://man.plustar.jp/django/intro/tutorial02.html - [similar]
How to create database migrations — Django 4.0.6 ドキュメント 6848
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... add a through model AuthorBook with a new field is_primary , like so: from django.db import migrations , mode ... 'id' , models . AutoField ( auto_created = True , primary_key = True , serialize = False , verbose_name = 'I ... AddField ( model_name = 'authorbook' , name = 'is_primary' , field = models . BooleanField ( default = False ...
https://man.plustar.jp/django/howto/writing-migrations.html - [similar]
PREV 1 2 3 4 5 6 7 8 NEXT