mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Modified the delete test to clean up after itself properly, so that the proxy_model_inheritance test can run without requiring manual confirmation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		@@ -198,5 +198,10 @@ CLEARING FIELD f
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Put this back to normal
 | 
					# Put this back to normal
 | 
				
			||||||
>>> django.db.models.sql.UpdateQuery = original_class
 | 
					>>> django.db.models.sql.UpdateQuery = original_class
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Restore the app cache to previous condition so that all models are accounted for.
 | 
				
			||||||
 | 
					>>> cache.app_models['delete'].keyOrder = ['a', 'b', 'c', 'd', 'e', 'f']
 | 
				
			||||||
 | 
					>>> clear_rel_obj_caches([A, B, C, D, E, F])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"""
 | 
					"""
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user