per page, with , order by , clip by
Results of 1 - 10 of about 17 for autocommit (0.004 sec.)
Django 1.6.3 リリースノート 12104
Django 1.6.3 リリースノート April 21, 2014 Django 1.6.3 fixes several bugs in 1.6.2, including three security issues, and makes one backwards-incompatible change: Unexpected code execution using reverse() Django's URL handling is based on a ... ueries. select_for_update() requires a transaction Historically, queries that use select_for_update() could be executed in autocommit mode, outside of a transaction. Before Django 1.6, Django's automatic transactions mode allowed this to be used to lock re ... cords until the next write operation. Django 1.6 introduced database-level autocommit; since then, execution in such a context voids the effect of select_for_update() . It is, therefore, assumed now to be an ... s can be caused by including an app which expects global transactions (e.g. ATOMIC_REQUESTS set to True ), or Django's old autocommit behavior, in a project which runs without them; and further, such errors may manifest as data-corruption bugs. This change ...
https://man.mtool.work/django/6.1/releases/1.6.3.html
Django 1.6.2 リリースノート 11483
Django 1.6.2 リリースノート February 6, 2014 This is Django 1.6.2, a bugfix release for Django 1.6. Django 1.6.2 fixes several bugs in 1.6.1: Prevented the base geometry object of a prepared geometry to be garbage collected, which could lea ... tory ( #21581 ). Fixed mail encoding on Python 3.3.3+ ( #21093 ). Fixed an issue where when settings.DATABASES['default']['AUTOCOMMIT'] = False , the connection wasn't in autocommit mode but Django pretended it was. Fixed a regression in multiple-table inh ...
https://man.mtool.work/django/6.1/releases/1.6.2.html
Django 1.8.5 リリースノート 11276
Django 1.8.5 リリースノート October 3, 2015 Django 1.8.5 fixes several bugs in 1.8.4. バグ修正 Made the development server's autoreload more robust ( #24704 ). Fixed AssertionError in some delete queries with a model containing a field that ... foreign keys to form instances when validating model formsets ( #25431 ). Allowed using ORM write methods after disabling autocommit with set_autocommit(False) ( #24921 ). Fixed the manage.py test --keepdb option on Oracle ( #25421 ). Fixed incorrect quer ...
https://man.mtool.work/django/6.1/releases/1.8.5.html
データベースのトランザクション 10656
データベースのトランザクション Django では、データベースのトランザクションをコントロールする方法が提供されています。 データベースのトランザクションを管理する Django のデフォルトのトランザクションの動作 Django のデフォルトの動作は、オートコミ ... do_stuff () and as a context manager : from django.db import transaction def viewfunc ( request ): # This code executes in autocommit mode (Django's default). do_stuff () with transaction . atomic (): # This code executes inside a transaction. do_more_stuf ... トランザクション管理 を無効にすることもできますが、推奨されません。 トランザクション管理を無効化する データベースの設定で AUTOCOMMIT を False にすると、Django のトランザクション管理を完全に無効にできます。こうすると、 Django は自動コミットを有効にせず、コ ... です)。 自動コミットモードで atomic() ブロックの外にある場合、関数はコミット時ではなく即座に実行されます。 on-commit 関数は autocommit mode と atomic() (または ATOMIC_REQUESTS ) トランザクション API でのみ動作します。オートコミットが無効でアトミックブロック ...
https://man.mtool.work/django/6.1/topics/db/transactions.html
Django 1.5 リリースノート 9224
Django 1.5 リリースノート February 26, 2013 Django 1.5 へようこそ! 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.4 or older versions. We'v ... range. It does check it now and raises an InvalidPage exception when the number is either too low or too high. Behavior of autocommit database option on PostgreSQL changed PostgreSQL's autocommit option didn't work as advertised previously. It did work for ... single transaction block, but after the first block was left the autocommit behavior was never restored. This bug is now fixed in 1.5. While this is only a bug fix, it is worth checking your applica ... tions behavior if you are using PostgreSQL together with the autocommit option. Session not saved on 500 responses Django's session middleware will skip saving the session data if the response's ...
https://man.mtool.work/django/6.1/releases/1.5.html
Django 1.6 リリースノート 9224
Django 1.6 リリースノート 注釈 Dedicated to Malcolm Tredinnick On March 17, 2013, the Django project and the free software community lost a very dear friend and developer. Malcolm was a long-time contributor to Django, a model community mem ... project and app templates . Improved transaction management Django's transaction management was overhauled. Database-level autocommit is now turned on by default. This makes transaction handling more explicit and should improve performance. The existing AP ... ts removal may appear as a backwards incompatible change. New transaction management model Behavior changes Database-level autocommit is enabled by default in Django 1.6. While this doesn't change the general spirit of Django's transaction management, ther ... n expected, check that the extra queries are related to savepoints, and adjust the expected number of queries accordingly. Autocommit option for PostgreSQL In previous versions, database-level autocommit was only an option for PostgreSQL, and it was disabl ...
https://man.mtool.work/django/6.1/releases/1.6.html
LayerMapping データインポートユーティリティ 8811
LayerMapping データインポートユーティリティ LayerMapping クラスは、ベクトル空間データファイル (例: shapefile) の内容を GeoDjango モデルにマッピングする方法を提供します。 このユーティリティは、ベクターレイヤーからジオメトリとフィールドを取り ... tin-1' , 'utf-8' , and 'cp437' are all valid encoding parameters. transaction_mode commit_on_success' (デフォルト) または 'autocommit' を指定します。 transform Setting this to False will disable coordinate transformations. In other words, geometries will b ... s from each feature will be added into the collection associated with the unique model. Forces the transaction mode to be 'autocommit' . using 空間データをインポートする際に使用するデータベースを設定します。デフォルトは 'default' です。 save() のキーワード ...
https://man.mtool.work/django/6.1/ref/contrib/gis/layermapping.html
Django 1.7 リリースノート 8604
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... in key. select_for_update() requires a transaction Historically, queries that use select_for_update() could be executed in autocommit mode, outside of a transaction. Before Django 1.6, Django's automatic transactions mode allowed this to be used to lock re ... cords until the next write operation. Django 1.6 introduced database-level autocommit; since then, execution in such a context voids the effect of select_for_update() . It is, therefore, assumed now to be an ... s can be caused by including an app which expects global transactions (e.g. ATOMIC_REQUESTS set to True ), or Django's old autocommit behavior, in a project which runs without them; and further, such errors may manifest as data-corruption bugs. It was also ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.3 リリースノート 7776
Django 1.3 リリースノート March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plenty of bug fixes and improvements to existing features. These release notes cover the new featu ... of Python 2.5 and above may now use transaction management functions as context managers. For example: with transaction . autocommit (): ... Configurable delete-cascade ForeignKey and OneToOneField now accept an on_delete argument to customize behavior wh ... deprecation of such location. Transaction management When using managed transactions -- that is, anything but the default autocommit mode -- it is important when a transaction is marked as "dirty". Dirty transactions are committed by the commit_on_success ...
https://man.mtool.work/django/6.1/releases/1.3.html
Django の機能廃止のタイムライン 7362
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... ed. The following transaction management APIs will be removed: TransactionMiddleware , the decorators and context managers autocommit , commit_on_success , and commit_manually , defined in django.db.transaction , the functions commit_unless_managed and rol ... APIs will be removed: django.db.backend django.db.close_connection() django.db.backends.creation.BaseDatabaseCreation.set_autocommit() django.db.transaction.is_managed() django.db.transaction.managed() django.forms.widgets.RadioInput will be removed in fa ...
https://man.mtool.work/django/6.1/internals/deprecation.html
PREV 1 2 NEXT