mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Removed an impossible code path in cache function
This commit is contained in:
		
							
								
								
									
										2
									
								
								django/core/cache/__init__.py
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								django/core/cache/__init__.py
									
									
									
									
										vendored
									
									
								
							| @@ -93,8 +93,6 @@ def parse_backend_conf(backend, **kwargs): | ||||
|             raise InvalidCacheBackendError("Could not find backend '%s'" % backend) | ||||
|         location = kwargs.pop('LOCATION', '') | ||||
|         return backend, location, kwargs | ||||
|     raise InvalidCacheBackendError( | ||||
|         "Couldn't find a cache backend named '%s'" % backend) | ||||
|  | ||||
| def get_cache(backend, **kwargs): | ||||
|     """ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user