検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 55 for execute (0.023 sec.)
Database instrumentation — Django 4.0.6 ドキュメント 17030
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... th all data. template_name = ... with connection . execute_wrapper ( blocker ): return render ( request , tem ... context ) The parameters sent to the wrappers are: execute -- a callable, which should be invoked with the re ... st of the parameters in order to execute the query. sql -- a str , the SQL query to be sent ... list/tuple of lists/tuples if the wrapped call is executemany() . many -- a bool indicating whether the ulti ...
https://man.plustar.jp/django/topics/db/instrumentation.html - [similar]
素の SQL 文の実行 — Django 4.0.6 ドキュメント 10895
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... es , or you can avoid the model layer entirely and execute custom SQL directly . Explore the ORM before using ... ions = None ) ¶ This method takes a raw SQL query, executes it, and returns a django.db.models.query.RawQuery ... ion.cursor() を呼び出してください。続いて、 cursor.execute(sql, [params]) を呼び出して SQL を実行した後 curso ... : with connection . cursor () as cursor : cursor . execute ( "UPDATE bar SET foo = 1 WHERE baz = %s " , [ sel ...
https://man.plustar.jp/django/topics/db/sql.html - [similar]
django.core.management.base — Django 4.0.6 ドキュメント 8574
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... g management commands (named commands which can be executed through ``django-admin`` or ``manage.py``). """ i ... options like ``pythonpath``, and then calls the ``execute()`` method, passing the parsed arguments. 3. The ` ... `execute()`` method attempts to carry out the command by ca ... ``BEGIN`` and ``COMMIT``. 4. If ``handle()`` or ``execute()`` raised any exception (e.g. ``CommandError``), ...
https://man.plustar.jp/django/_modules/django/core/management/base.html - [similar]
Django 1.6 release notes — Django 4.0.6 ドキュメント 8485
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... of the form. Raw queries ( Manager.raw() or cursor.execute() ) can now use the "pyformat" parameter style, wh ... r database to benefit from this change. For MySQL, execute this query on your project's database: ALTER TABLE ... ents MODIFY ip_address VARCHAR ( 39 ); For Oracle, execute this query: ALTER TABLE DJANGO_COMMENTS MODIFY ( i ... r PostgreSQL databases. Percent literals in cursor.execute queries ¶ When you are running raw SQL queries thr ...
https://man.plustar.jp/django/releases/1.6.html - [similar]
Django 1.4 release notes — Django 4.0.6 ドキュメント 8382
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... }}.settings" ) from django.core.management import execute_from_command_line execute_from_command_line ( sys ... conf.settings.configure() . django.core.management.execute_manager ¶ This function was previously used by man ... age.py to execute a management command. It is identical to django.co ... re.management.execute_from_command_line , except that it first calls set ...
https://man.plustar.jp/django/releases/1.4.html - [similar]
SchemaEditor — Django 4.0.6 ドキュメント 8175
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... classes and tweak the syntax a little. メソッド ¶ execute() ¶ BaseDatabaseSchemaEditor. execute ( sql , para ... ms = () ) ¶ Executes the SQL statement passed in, with parameters if s ... いるときに役に立ちます。 目次 SchemaEditor メソッド execute() create_model() delete_model() add_index() remove ...
https://man.plustar.jp/django/ref/schema-editor.html - [similar]
データベース — Django 4.0.6 ドキュメント 7879
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... a couple of options. After the tables are created, execute an ALTER TABLE statement to convert a table to a n ... name to be altered when certain SQL statements are executed under certain conditions. It is recommended that ... st backends, raw queries ( Manager.raw() or cursor.execute() ) can use the "pyformat" parameter style, where ... YS.DBMS_RANDOM packages, so your user will require execute permissions on it. It's normally accessible to all ...
https://man.plustar.jp/django/ref/databases.html - [similar]
Advanced testing topics — Django 4.0.6 ドキュメント 7672
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... migrate . Considering the order in which tests are executed , this isn't an issue, provided either all Transa ... s and point TEST_RUNNER at that class, Django will execute your test runner whenever you run ./manage.py test ... is possible to use any test framework that can be executed from Python code, or to modify the Django test ex ... er methods that are used by run_tests() to set up, execute and tear down the test suite. class DiscoverRunner ...
https://man.plustar.jp/django/topics/testing/advanced.html - [similar]
Related objects reference — Django 4.0.6 ドキュメント 7569
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... hips using QuerySet.bulk_create() . If you need to execute some custom logic when a relationship is created, ... d; listen to the m2m_changed signal if you wish to execute custom code when a relationship is deleted. For ma ...
https://man.plustar.jp/django/ref/models/relations.html - [similar]
How to create custom django-admin commands — Django 4.0.6 ドキュメント 7480
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 独自のバージョンを返すことができます。 BaseCommand. execute ( * args , ** options ) [ソース] ¶ Tries to execut ... し カスタム管理コマンドを実行するためにコード中から execute() を直接呼び出す事は避けてください。代わりに call_ ...
https://man.plustar.jp/django/howto/custom-management-commands.html - [similar]
PREV 1 2 3 4 5 6 NEXT