Results of 1 - 10 of about 52 for operation (0.021 sec.)
- マイグレーション操作 — Django 4.0.6 ドキュメント 15368
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
you need an empty migration file to write your own Operation objects into, use python manage.py makemigrations ...
but be aware that manually adding schema-altering operations can confuse the migration autodetector and make r ...
ango が提供するコア機能は全て django.db.migrations.operations モジュールから利用できます。 より入門的な内容に関 ...
This should generate a migration with an AddField operation. Add the default value to your field and run the m ...
-
https://man.plustar.jp/django/ref/migration-operations.html
- [similar]
- Database migration operations — Django 4.0.6 ドキュメント 11903
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
odules « previous | up | next » Database migration operations ¶ All of these operations are available from the ...
django.contrib.postgres.operations module. Creating extension using migrations ¶ You ...
ostgreSQL before the first CreateModel or AddField operation that involves HStoreField by adding a migration wi ...
th the HStoreExtension operation. For example: from django.contrib.postgres.operati ...
-
https://man.plustar.jp/django/ref/contrib/postgres/operations.html
- [similar]
- How to create database migrations — Django 4.0.6 ドキュメント 9245
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
the database connection's alias inside a RunPython operation by looking at the schema_editor.connection.alias a ...
endencies = [ # Dependencies to other migrations ] operations = [ migrations . RunPython ( forwards ), ] You ca ...
endencies = [ # Dependencies to other migrations ] operations = [ migrations . RunPython ( forwards , hints = { ...
_db' : 'default' }), ] If your RunPython or RunSQL operation only affects one model, it's good practice to pass ...
-
https://man.plustar.jp/django/howto/writing-migrations.html
- [similar]
- PostgreSQL specific lookups — Django 4.0.6 ドキュメント 9245
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
the extension using the TrigramExtension migration operation. The trigram_similar lookup can be used on CharFie ...
the extension using the TrigramExtension migration operation. The trigram_word_similar lookup can be used on Ch ...
on on PostgreSQL . The UnaccentExtension migration operation is available if you want to perform this activatio ...
ic model indexes 次のトピックへ Database migration operations 関連キーワード PostgreSQL , lookups , lookup , us ...
-
https://man.plustar.jp/django/ref/contrib/postgres/lookups.html
- [similar]
- Django 1.9.1 リリースノート — Django 4.0.6 ドキュメント 9125
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tate bug when migrating a SeparateDatabaseAndState operation backwards ( #25896 ). Fixed a regression in Common ...
Fixed a state bug when using an AlterModelManagers operation ( #25852 ). Fixed TypedChoiceField change detectio ...
ion , values , list , using , QuerySet , default , operation クイック検索 Last update: 2022年6月01日 « previous ...
-
https://man.plustar.jp/django/releases/1.9.1.html
- [similar]
- マイグレーション — Django 4.0.6 ドキュメント 8782
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
データベースに適用します $ python manage.py migrate Operations to perform: Apply all migrations: books Running m ...
ransactions (SQLite and PostgreSQL), all migration operations will run inside a single transaction by default. ...
ort DDL transactions (e.g. MySQL, Oracle) then all operations will run without a transaction. You can prevent a ...
r. This dependency behavior affects most migration operations where you restrict to a single app. Restricting t ...
-
https://man.plustar.jp/django/topics/migrations.html
- [similar]
- PostgreSQL specific model indexes — Django 4.0.6 ドキュメント 8662
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
can install it using the BloomExtension migration operation. Provide an integer number of bits from 1 to 4096 ...
n install it using the BtreeGinExtension migration operation. Set the fastupdate parameter to False to disable ...
install it using the BtreeGistExtension migration operation. Set the buffering parameter to True or False to m ...
-
https://man.plustar.jp/django/ref/contrib/postgres/indexes.html
- [similar]
- 複数のデータベース — Django 4.0.6 ドキュメント 8438
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Suggest the database that should be used for read operations for objects of type model . If a database operati ...
for writes of objects of type Model. If a database operation is able to provide any additional information that ...
router has no opinion. This is purely a validation operation, used by foreign key and many to many operations t ...
e = None , ** hints ) ¶ Determine if the migration operation is allowed to run on the database with alias db . ...
-
https://man.plustar.jp/django/topics/db/multi-db.html
- [similar]
- Installing PostGIS — Django 4.0.6 ドキュメント 8319
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
rate process. An alternative is to use a migration operation in your project: from django.contrib.postgres.oper ...
ations class Migration ( migrations . Migration ): operations = [ CreateExtension ( 'postgis' ), ... ] If you p ...
the extension using the CreateExtension migration operation, or directly by running CREATE EXTENSION postgis_r ...
-
https://man.plustar.jp/django/ref/contrib/gis/install/postgis.html
- [similar]
- Related objects reference — Django 4.0.6 ドキュメント 8199
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
epts a bulk argument to control how to perform the operation. If True (the default), QuerySet.update() is used. ...
pts a clear argument to control how to perform the operation. If False (the default), the elements missing from ...
doesn't exist. Note that since set() is a compound operation, it is subject to race conditions. For instance, n ...
-
https://man.plustar.jp/django/ref/models/relations.html
- [similar]