Tim Graham 
							
						 
					 
					
						
						
							
						
						a8b70d251d 
					 
					
						
						
							
							[1.8.x] Sorted imports with isort; refs  #23860 .  
						
						... 
						
						
						
						Backport of 0ed7d15563 
						
						
					 
					
						2015-02-09 14:24:06 -05:00 
						 
				 
			
				
					
						
							
							
								Alex Gaynor 
							
						 
					 
					
						
						
							
						
						dbe2fb632d 
					 
					
						
						
							
							Added a missing import and removed an unneeded import  
						
						
						
						
					 
					
						2013-12-24 08:35:13 -08:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						1716b7ce5a 
					 
					
						
						
							
							Renamed AppCache to Apps.  
						
						... 
						
						
						
						Also renamed app_cache to apps and "app cache" to "app registry".
Deprecated AppCache.app_cache_ready() in favor of Apps.ready(). 
						
						
					 
					
						2013-12-24 12:25:17 +01:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						82a35e24d4 
					 
					
						
						
							
							Replaced ad-hoc caching of get_models with lru_cache.  
						
						... 
						
						
						
						Invalidate properly the cache whenever all_models or app_configs change.
This fixes some isolation issues in the test suite. 
						
						
					 
					
						2013-12-24 10:56:50 +01:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						e32095616c 
					 
					
						
						
							
							Imported override_settings from its new location.  
						
						
						
						
					 
					
						2013-12-23 21:37:56 +01:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						2fef9e5375 
					 
					
						
						
							
							Moved apps back in the toplevel django namespace.  
						
						... 
						
						
						
						Reverted 4a56a93cc4 
						
						
					 
					
						2013-12-22 11:39:55 +01:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						4a56a93cc4 
					 
					
						
						
							
							Moved the new app cache inside core.  
						
						
						
						
					 
					
						2013-12-17 10:17:46 +01:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						8662654d6d 
					 
					
						
						
							
							Removed module-level functions for the app cache.  
						
						... 
						
						
						
						Since the original ones in django.db.models.loading were kept only for
backwards compatibility, there's no need to recreate them. However, many
internals of Django still relied on them.
They were also imported in django.db.models. They never appear in the
documentation, except a quick mention of get_models and get_app in the
1.2 release notes to document an edge case in GIS. I don't think that
makes them a public API.
This commit doesn't change the overall amount of global state but
clarifies that it's tied to the app_cache object instead of hiding it
behind half a dozen functions. 
						
						
					 
					
						2013-12-17 10:17:44 +01:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						860c2c8bc5 
					 
					
						
						
							
							Moved django.db.models.loading to django.apps.cache.  
						
						... 
						
						
						
						This commit doesn't contain any code changes; it's purely a refactoring. 
						
						
					 
					
						2013-12-17 10:17:43 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						3db66b1d65 
					 
					
						
						
							
							Updated syncdb -> migrate in tests.  
						
						
						
						
					 
					
						2013-09-03 11:51:34 -04:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						5c1143910e 
					 
					
						
						
							
							Removed most of absolute_import imports  
						
						... 
						
						
						
						Should be unneeded with Python 2.7 and up.
Added some unicode_literals along the way. 
						
						
					 
					
						2013-07-29 20:28:13 +02:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						c3df866619 
					 
					
						
						
							
							Fixed   #20603  -- Made the test suite faster.  
						
						... 
						
						
						
						By avoiding to run syncdb with the full set of test models.
Thanks Anssi for the idea. 
						
						
					 
					
						2013-06-14 23:16:15 +02:00 
						 
				 
			
				
					
						
							
							
								Florian Apolloner 
							
						 
					 
					
						
						
							
						
						33836cf88d 
					 
					
						
						
							
							Renamed some tests and removed references to modeltests/regressiontests.  
						
						
						
						
					 
					
						2013-02-26 14:36:57 +01:00 
						 
				 
			
				
					
						
							
							
								Florian Apolloner 
							
						 
					 
					
						
						
							
						
						89f40e3624 
					 
					
						
						
							
							Merged regressiontests and modeltests into the test root.  
						
						
						
						
					 
					
						2013-02-26 14:36:57 +01:00