mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed #5922 -- Turned ModelBackend authentication backend into a new-style class, thanks Honza_Kral.
				
					
				
			git-svn-id: http://code.djangoproject.com/svn/django/trunk@7201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -6,7 +6,7 @@ try: | ||||
| except NameError:  | ||||
|     from sets import Set as set # Python 2.3 fallback | ||||
|  	 | ||||
| class ModelBackend: | ||||
| class ModelBackend(object): | ||||
|     """ | ||||
|     Authenticate against django.contrib.auth.models.User | ||||
|     """ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user