mirror of
				https://github.com/django/django.git
				synced 2025-11-04 05:35:37 +00:00 
			
		
		
		
	Fixed #25311 -- Removed vague language about "partial commits" from docs.
This commit is contained in:
		
							parent
							
								
									4bc00defd0
								
							
						
					
					
						commit
						ea47a052ba
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -39,9 +39,9 @@ transaction. If the response is produced without problems, Django commits the
 | 
				
			||||||
transaction. If the view produces an exception, Django rolls back the
 | 
					transaction. If the view produces an exception, Django rolls back the
 | 
				
			||||||
transaction.
 | 
					transaction.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
You may perform partial commits and rollbacks in your view code, typically with
 | 
					You may perform subtransactions using savepoints in your view code, typically
 | 
				
			||||||
the :func:`atomic` context manager. However, at the end of the view, either
 | 
					with the :func:`atomic` context manager. However, at the end of the view,
 | 
				
			||||||
all the changes will be committed, or none of them.
 | 
					either all or none of the changes will be committed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. warning::
 | 
					.. warning::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue