per page, with , order by , clip by
Results of 1 - 10 of about 19 for connections (0.005 sec.)
Django 2.1.5 リリースノート 12277
Django 2.1.5 リリースノート January 4, 2019 Django 2.1.5 fixes a security issue and several bugs in 2.1.4. CVE-2019-3498: Content spoofing possibility in the default 404 page An attacker could craft a malicious URL that could make spoofed c ... led to avoid the possibility of schema corruption ( #30023 ). Fixed a regression in Django 2.1.4 (which enabled keep-alive connections) where request body data isn't properly consumed for such connections ( #30015 ). Fixed a regression in Django 2.1.4 where ...
https://man.mtool.work/django/6.1/releases/2.1.5.html
FAQ: データベースとモデル 11781
FAQ: データベースとモデル Django が実行している生の SQL クエリを見られますか? Django の設定ファイルの DEBUG が True になっていることを確認します。次に、以下のコードを実行してください。 >>> from django.db import connection >>> connection . q ... 。アプリケーションがデータベースを操作するたびに、クエリが記録されていきます。 もし 複数のデータベース を利用している場合、 connections の辞書の各要素に対して、同じコードを実行できます: >>> from django.db import connections >>> connections [ "my_db_alias" ] ...
https://man.mtool.work/django/6.1/faq/models.html
Django 1.4 リリースノート 11781
Django 1.4 リリースノート March 23, 2012 Django 1.4 へようこそ! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 1.3 or older versions. We've a ... on's thread-locality DatabaseWrapper objects (i.e. the connection objects referenced by django.db.connection and django.db.connections["some_alias"] ) used to be thread-local. They are now global objects in order to be potentially shared between multiple th ... reads. While the individual connection objects are now global, the django.db.connections dictionary referencing those objects is still thread-local. Therefore if you just use the ORM or DatabaseWrapper.cursor() ... is now a proxy to access that object's attributes. If you need to access the actual DatabaseWrapper object, use django.db.connections[DEFAULT_DB_ALIAS] instead. As part of this change, all underlying SQLite connections are now enabled for potential thread- ...
https://man.mtool.work/django/6.1/releases/1.4.html
素の SQL 文の実行 9613
素の SQL 文の実行 Django gives you three ways of performing raw SQL queries: you can embed raw SQL fragments into ORM queries using RawSQL (see Raw SQL fragments ), use Manager.raw() to perform raw queries and return model instances , or av ... %s " , [ self . id ]) 2 つ以上のデータベース を利用している場合、特定のコネクション (とカーソル) を取得するのに django.db.connections を利用できます。 django.db.connections は、エイリアスを指定することで特定のコネクションを得られる、辞書に似たオブジェクトで ... す。 from django.db import connections with connections [ "my_db_alias" ] . cursor () as cursor : # Your code here ... デフォルトでは、Python データベース API は ...
https://man.mtool.work/django/6.1/topics/db/sql.html
Django 1.8 リリースノート 9374
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... tting the description of a table. E メール Email backends now support the context manager protocol for opening and closing connections. The SMTP email backend now supports keyfile and certfile authentication with the EMAIL_SSL_CERTFILE and EMAIL_SSL_KEYFILE ... go.utils.log.AdminEmailHandler class now has a send_mail() method to make it more subclass friendly. 管理コマンド Database connections are now always closed after a management command called from the command line has finished doing its job. Commands from al ... new allow_migrate signature, see the deprecation section for more details. モデル Django now logs at most 9000 queries in connections.queries , in order to prevent excessive memory usage in long-running processes in debug mode. There is now a model Meta op ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 1.2 リリースノート 8896
Django 1.2 リリースノート 2010 年 5 月 17 日 Django 1.2 へようこそ! Nearly a year in the making, Django 1.2 packs an impressive list of new features and lots of bug fixes. These release notes cover the new features, as well as important cha ... ions. オーバービュー Django 1.2 introduces several large, important new features, including: Support for multiple database connections in a single Django instance. Model validation inspired by Django's form validation. Vastly improved protection against Cro ... patialRefSys と GeometryColumns を取得するには、空間バックエンドが提供するメソッドを使用します。 >>> from django.db import connections >>> SpatialRefSys = connections [ "my_spatialite" ] . ops . spatial_ref_sys () >>> GeometryColumns = connections [ "my_pos ...
https://man.mtool.work/django/6.1/releases/1.2.html
Django 5.2.15 release notes 8657
Django 5.2.15 release notes June 3, 2026 Django 5.2.15 fixes five security issues with severity "low" in 5.2.14. CVE-2026-6873: Signed cookie salt namespace collision get_signed_cookie() derived the signing salt by concatenating the cookie ... encryption. This can occur with fail_silently=True , as used by send_mail() and BrokenLinkEmailsMiddleware , among others. Connections configured with EMAIL_USE_SSL are not affected. This issue has severity "low" according to the Django security policy . CV ...
https://man.mtool.work/django/6.1/releases/5.2.15.html
Django 1.10.1 リリースノート 8418
Django 1.10.1 リリースノート September 1, 2016 Django 1.10.1 fixes several bugs in 1.10. バグ修正 Fixed a crash in MySQL connections where SELECT @@SQL_AUTO_IS_NULL doesn't return a result ( #26991 ). Allowed User.is_authenticated and User. ...
https://man.mtool.work/django/6.1/releases/1.10.1.html
Django 6.0.6 release notes 8418
Django 6.0.6 release notes June 3, 2026 Django 6.0.6 fixes five security issues with severity "low" and one bug in 6.0.5. Also, the latest string translations from Transifex are incorporated. CVE-2026-6873: Signed cookie salt namespace coll ... encryption. This can occur with fail_silently=True , as used by send_mail() and BrokenLinkEmailsMiddleware , among others. Connections configured with EMAIL_USE_SSL are not affected. This issue has severity "low" according to the Django security policy . CV ...
https://man.mtool.work/django/6.1/releases/6.0.6.html
複数のデータベース 8418
複数のデータベース ここでは、Djangoがサポートする複数データベースの扱いについて説明します。残りのDjangoのドキュメントの大部分は、あなたが一つのデータベース扱うことを前提としています。複数のデータベースを使いたいなら、いくつかの追加ステップを ... 使わずに出版社だけを公開しています。 複数のデータベースで生のカーソルを使う 複数のデータベースを使用している場合、 django.db.connections を使用することで、特定のデータベースのコネクション (とカーソル) を取得できます。 django.db.connections は辞書のようなオブジ ... ェクトで、次のように、エイリアスを使って個別の接続を取得できます。 from django.db import connections with connections [ "my_db_alias" ] . cursor () as cursor : ... 複数データベースの制約 データベースをまたぐリレーション Dja ...
https://man.mtool.work/django/6.1/topics/db/multi-db.html
PREV 1 2 NEXT