検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 331 for Using (0.028 sec.)
django.db.transaction — Django 4.0.6 ドキュメント 10649
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... t is used improperly.""" pass def get_connection ( using = None ): """ Get a database connection by name, o ... no name is provided. This is a private API. """ if using is None : using = DEFAULT_DB_ALIAS return connecti ... ons [ using ] [ドキュメント] def get_autocommit ( using = None ... atus of the connection.""" return get_connection ( using ) . get_autocommit () [ドキュメント] def set_autoc ...
https://man.plustar.jp/django/_modules/django/db/transaction.html - [similar]
複数のデータベース — Django 4.0.6 ドキュメント 10036
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... g those in any contrib and third-party apps you're using, so that no queries are routed to the default data ... e=users $ ./manage.py migrate --database=customers Using other management commands ¶ Most other django-admi ... they only ever operate on one database at a time, using --database to control the database used. An except ... ython and RunSQL operations unless they provide it using hints. hints are used by certain operations to com ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 8453
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... eter, so you can immediately see your results when using the API interactively. len()。 QuerySet は len() を ... . Testing a QuerySet in a boolean context, such as using bool() , or , and or an if statement, will cause t ... the original QuerySet (without any results loaded) using some code like this: >>> import pickle >>> query = ... lues_list() If you recreate QuerySet.values_list() using the pickled query attribute, it will be converted ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 7620
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... o allow for data initialization at the class level using transactions and savepoints. Database backends whi ... he ability to set up test data at the class level. Using this technique can speed up the tests as compared ... to using setUp() . Fixture loading within TestCase is now p ... e buttons for changing or deleting related objects using a popup. django.contrib.admindocs ¶ reStructuredTe ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
PostgreSQL specific lookups — Django 4.0.6 ドキュメント 7492
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... of trigrams (three consecutive characters) shared, using a dedicated PostgreSQL extension. A trigram lookup ... nsion on PostgreSQL. You can install the extension using the TrigramExtension migration operation. The trig ... ows you to perform trigram word similarity lookups using a dedicated PostgreSQL extension. It can be approx ... nsion on PostgreSQL. You can install the extension using the TrigramExtension migration operation. The trig ...
https://man.plustar.jp/django/ref/contrib/postgres/lookups.html - [similar]
データベース — Django 4.0.6 ドキュメント 7492
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ngo assumes that all databases use UTF-8 encoding. Using other encodings may result in unexpected behavior ... ection settings ¶ See HOST for details. To connect using a service name from the connection service file an ... me, and specifying a password file was added. 警告 Using a service name for testing purposes is not support ... ostgreSQL extension (like hstore , postgis , etc.) using a migration, use the CreateExtension operation. Se ...
https://man.plustar.jp/django/ref/databases.html - [similar]
データベースのトランザクション — Django 4.0.6 ドキュメント 7492
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 行するのを防ぐことができます。 non_atomic_requests ( using = None ) [ソース] ¶ このデコレータは、与えられたビ ... : do_stuff () @transaction . non_atomic_requests ( using = 'other' ) def my_other_view ( request ): do_stuf ... ールするための一つの API を提供しています。 atomic ( using = None , savepoint = True , durable = False ) [ソー ... omic block will raise an exception. atomic takes a using argument which should be the name of a database. I ...
https://man.plustar.jp/django/topics/db/transactions.html - [similar]
クエリー式 — Django 4.0.6 ドキュメント 7053
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... etic, and the power operator on query expressions, using Python constants, variables, and even other expres ... company . chairs_needed 70 # Create a new company using expressions. >>> company = Company . objects . cre ... cts . order_by ( Length ( 'name' ) . desc ()) # or using the double underscore lookup syntax. from django.d ... model field values and perform database operations using them without actually having to pull them out of t ...
https://man.plustar.jp/django/ref/models/expressions.html - [similar]
Unit tests — Django 4.0.6 ドキュメント 7007
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... settings module that uses the SQLite database. See Using another settings module to learn how to use a diff ... シューティング for some common issues. Running tests using tox ¶ Tox is a tool for running tests in different ... ings . For example, to run the tests on Python 3.9 using PostgreSQL:   $ tox -e py39-postgres -- --settin ... b apps. The JavaScript tests aren't run by default using tox because they require Node.js to be installed a ...
https://man.plustar.jp/django/internals/contributing/writing-code/unit-tests.htm... - [similar]
Database migration operations — Django 4.0.6 ドキュメント 6696
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... rib.postgres.operations module. Creating extension using migrations ¶ You can create a PostgreSQL extension ... in your database using a migration file. This example creates an hstore e ... stalls the unaccent extension. Managing collations using migrations ¶ New in Django 3.2. If you need to fil ... ter or order a column using a particular collation that your operating system ...
https://man.plustar.jp/django/ref/contrib/postgres/operations.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT