Results of 1 - 10 of about 66 for operations (0.022 sec.)
- Database migration operations — Django 4.0.6 ドキュメント 14897
- " + 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 d ...
jango.contrib.postgres.operations module. Creating extension using migrations ¶ You ...
eration. For example: from django.contrib.postgres.operations import HStoreExtension class Migration ( migration ...
s . Migration ): ... operations = [ HStoreExtension (), ... ] The operation skips ...
-
https://man.plustar.jp/django/ref/contrib/postgres/operations.html
- [similar]
- マイグレーション — Django 4.0.6 ドキュメント 11187
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
データベースに適用します $ python manage.py migrate Operations to perform: Apply all migrations: books Running mi ...
ransactions (SQLite and PostgreSQL), all migration operations will run inside a single transaction by default. I ...
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 to ...
-
https://man.plustar.jp/django/topics/migrations.html
- [similar]
- マイグレーション操作 — Django 4.0.6 ドキュメント 10830
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
but be aware that manually adding schema-altering operations can confuse the migration autodetector and make re ...
ango が提供するコア機能は全て django.db.migrations.operations モジュールから利用できます。 より入門的な内容に関し ...
¶ class RunSQL ( sql , reverse_sql = None , state_operations = None , hints = None , elidable = False ) ¶ Allow ...
), the RunSQL operation is irreversible. The state_operations argument allows you to supply operations that are ...
-
https://man.plustar.jp/django/ref/migration-operations.html
- [similar]
- How to create database migrations — Django 4.0.6 ドキュメント 10745
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
endencies = [ # Dependencies to other migrations ] operations = [ migrations . RunPython ( forwards ), ] You can ...
endencies = [ # Dependencies to other migrations ] operations = [ migrations . RunPython ( forwards , hints = { ...
s = [ ( 'myapp' , '0005_populate_uuid_values' ), ] operations = [ migrations . AlterField ( model_name = 'mymode ...
ies = [ ( 'myapp' , '0003_auto_20150129_1705' ), ] operations = [ migrations . AddField ( model_name = 'mymodel' ...
-
https://man.plustar.jp/django/howto/writing-migrations.html
- [similar]
- 索引 — Django 4.0.6 ドキュメント 10117
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
in のメソッド) AddConstraint (django.db.migrations.operations のクラス) AddConstraintNotValid (django.contrib.po ...
stgres.operations のクラス) AddField (django.db.migrations.operation ...
s のクラス) AddIndex (django.db.migrations.operations のクラス) AddIndexConcurrently (django.contrib.pos ...
tgres.operations のクラス) addslashes template filter AdminEmailHan ...
-
https://man.plustar.jp/django/genindex.html
- [similar]
- 複数のデータベース — Django 4.0.6 ドキュメント 8347
- " + 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 operatio ...
on operation, used by foreign key and many to many operations to determine if a relation should be allowed betwe ...
on the database with alias db . Return True if the operation should run, False if it shouldn't run, or None if t ...
eing migrated. model_name is set by most migration operations to the value of model._meta.model_name (the lowerc ...
-
https://man.plustar.jp/django/topics/db/multi-db.html
- [similar]
- django.contrib.postgres — Django 4.0.6 ドキュメント 7819
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ups Trigram similarity Unaccent Database migration operations Creating extension using migrations CreateExtensio ...
aging collations using migrations Concurrent index operations Adding constraints without enforcing validation Fu ...
-
https://man.plustar.jp/django/ref/contrib/postgres/index.html
- [similar]
- Installing PostGIS — Django 4.0.6 ドキュメント 7734
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tion in your project: from django.contrib.postgres.operations import CreateExtension from django.db import migra ...
tions class Migration ( migrations . Migration ): operations = [ CreateExtension ( 'postgis' ), ... ] If you pl ...
-
https://man.plustar.jp/django/ref/contrib/gis/install/postgis.html
- [similar]
- Django's cache framework — Django 4.0.6 ドキュメント 7734
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
or as a list. While using multiple servers, write operations are performed on the first server (leader). Read o ...
, the following router would direct all cache read operations to cache_replica , and all write operations to cac ...
Router : """A router to control all database cache operations""" def db_for_read ( self , model , ** hints ): "A ...
ll cache read operations go to the replica" if model . _meta . app_label == ...
-
https://man.plustar.jp/django/topics/cache.html
- [similar]
- 検索 — Django 4.0.6 ドキュメント 7734
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
リ ¶ Text-based fields have a selection of matching operations. For example, you may wish to allow lookup up an a ...
source data. 文書ベースの検索 ¶ Standard database operations stop being a useful approach when you start consid ...
t. Whereas the examples above can be thought of as operations on a string of characters, full text search looks ...
-
https://man.plustar.jp/django/topics/db/search.html
- [similar]