mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed #9964 -- Ensure that all database operations make transactions dirty, not just write operations. Many thanks to Shai Berger for his work and persistence on this issue.
This is BACKWARDS INCOMPATIBLE for anyone relying on the current behavior that allows manually managed read-only transactions to be left dangling without a manual commit or rollback. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15493 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		
							
								
								
									
										4
									
								
								tests/regressiontests/transactions_regress/models.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								tests/regressiontests/transactions_regress/models.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| from django.db import models | ||||
|  | ||||
| class Mod(models.Model): | ||||
|     fld = models.IntegerField() | ||||
		Reference in New Issue
	
	Block a user