検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 68 for connection (0.012 sec.)
django.db.transaction — Django 4.0.6 ドキュメント 13743
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ALIAS , DatabaseError , Error , ProgrammingError , connections , ) [ドキュメント] class TransactionManagementErr ... ion management is used improperly.""" pass def get_connection ( using = None ): """ Get a database connection by ... name, or the default database connection if no name is provided. This is a private API. """ ... if using is None : using = DEFAULT_DB_ALIAS return connections [ using ] [ドキュメント] def get_autocommit ( usi ...
https://man.plustar.jp/django/_modules/django/db/transaction.html - [similar]
django.core.mail — Django 4.0.6 ドキュメント 11318
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... dHeaderError" , "forbid_multi_line_headers" , "get_connection" , "send_mail" , "send_mass_mail" , "mail_admins" ... , "mail_managers" , ] [ドキュメント] def get_connection ( backend = None , fail_silently = False , ** kwds ... False , auth_user = None , auth_password = None , connection = None , html_message = None , ): """ Easy wrapper ... ty should use the EmailMessage class directly. """ connection = connection or get_connection ( username = auth_u ...
https://man.plustar.jp/django/_modules/django/core/mail.html - [similar]
データベース — Django 4.0.6 ドキュメント 11232
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... n or reference manuals. General notes ¶ Persistent connections ¶ Persistent connections avoid the overhead of re ... -establishing a connection to the database in each request. They're controlle ... parameter which defines the maximum lifetime of a connection. It can be set independently for each database. Th ... ng the historical behavior of closing the database connection at the end of each request. To enable persistent c ...
https://man.plustar.jp/django/ref/databases.html - [similar]
Porting your apps from Django 0.96 to 1.0 — Django 4.0.6 ドキュメント 10282
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... .db : Old (0.96) New (1.0) backend.get_autoinc_sql connection.ops.autoinc_sql backend.get_date_extract_sql conne ... on.ops.date_extract_sql backend.get_date_trunc_sql connection.ops.date_trunc_sql backend.get_datetime_cast_sql c ... n.ops.datetime_cast_sql backend.get_deferrable_sql connection.ops.deferrable_sql backend.get_drop_foreignkey_sql ... connection.ops.drop_foreignkey_sql backend.get_fulltext_searc ...
https://man.plustar.jp/django/releases/1.0-porting-guide.html - [similar]
メールを送信する — Django 4.0.6 ドキュメント 10084
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... False , auth_user = None , auth_password = None , connection = None , html_message = None ) [ソース] ¶ In most ... Django は EMAIL_HOST_PASSWORD 設定の値を使います。 connection : メール送信のために使うバックエンドで、省略可能。 ... False , auth_user = None , auth_password = None , connection = None ) [ソース] ¶ django.core.mail.send_mass_mai ... mins ( subject , message , fail_silently = False , connection = None , html_message = None ) [ソース] ¶ django.c ...
https://man.plustar.jp/django/topics/email.html - [similar]
Django 1.2 リリースノート — Django 4.0.6 ドキュメント 9928
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... features, including: Support for multiple database connections in a single Django instance. Model validation ins ... eld ( models . Field ): # ... def db_type ( self , connection ): # ... def get_prep_value ( self , value ): # .. ... lue ): # ... def get_db_prep_save ( self , value , connection ): # ... def get_db_prep_value ( self , value , co ... get_db_prep_lookup ( self , lookup_type , value , connection , prepared = False ): # ... These changes are requ ...
https://man.plustar.jp/django/releases/1.2.html - [similar]
Database instrumentation — Django 4.0.6 ドキュメント 9091
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s from the template like so: from django.db import connection from django.shortcuts import render def my_view ( ... te context with all data. template_name = ... with connection . execute_wrapper ( blocker ): return render ( req ... about the context of invocation. This includes the connection and cursor. Using the parameters, a slightly more ... complex version of the blocker could include the connection name in the error message: def blocker ( execute , ...
https://man.plustar.jp/django/topics/db/instrumentation.html - [similar]
django.core.mail.message — Django 4.0.6 ドキュメント 8212
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... "" , from_email = None , to = None , bcc = None , connection = None , attachments = None , headers = None , cc ... ment ) self . extra_headers = headers or {} self . connection = connection def get_connection ( self , fail_sile ... ntly = False ): from django.core.mail import get_connection if not self . connection : self . connection = get ... _connection ( fail_silently = fail_silently ) return self . co ...
https://man.plustar.jp/django/_modules/django/core/mail/message.html - [similar]
django.db.utils — Django 4.0.6 ドキュメント 7970
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... compatibility with Django < 3.2 from django.utils.connection import ConnectionDoesNotExist # NOQA: F401 from dj ... ango.utils.connection import BaseConnectionHandler from django.utils.fun ... rors_occurred' flag for errors that may make # the connection unusable. if dj_exc_type not in ( DataError , Inte ... error, this must be an error in Django raise class ConnectionHandler ( BaseConnectionHandler ): settings_name = ...
https://man.plustar.jp/django/_modules/django/db/utils.html - [similar]
How to create custom model fields — Django 4.0.6 ドキュメント 7729
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... typeField ( models . Field ): def db_type ( self , connection ): return 'mytype' MytypeField を取得したら、他の` ... handle this in a db_type() method by checking the connection.vendor attribute. Current built-in vendor names ar ... DateField ( models . Field ): def db_type ( self , connection ): if connection . vendor == 'mysql' : return 'dat ... ford to execute slightly complex code, such as the connection.settings_dict check in the above example. Some dat ...
https://man.plustar.jp/django/howto/custom-model-fields.html - [similar]
PREV 1 2 3 4 5 6 7 NEXT