mirror of
				https://github.com/django/django.git
				synced 2025-10-30 17:16:10 +00:00 
			
		
		
		
	[1.7.x] Fixed #23089 -- Fixed transaction handling in two management commands.
Previously, when createcachetable and flush operated on non-default
databases, they weren't atomic.
Backport of 753a22a635 from master
			
			
This commit is contained in:
		
				
					committed by
					
						 Tim Graham
						Tim Graham
					
				
			
			
				
	
			
			
			
						parent
						
							b918bc921c
						
					
				
				
					commit
					5ca82ff71b
				
			| @@ -22,3 +22,7 @@ Bugfixes | ||||
|  | ||||
| * Restored ``pre_delete``  signals for ``GenericRelation`` cascade deletion | ||||
|   (`#22998 <https://code.djangoproject.com/ticket/22998>`_). | ||||
|  | ||||
| * Fixed transaction handling when specifying non-default database in | ||||
|   ``createcachetable`` and ``flush`` | ||||
|   (`#23089 <https://code.djangoproject.com/ticket/23089>`_). | ||||
|   | ||||
		Reference in New Issue
	
	Block a user