mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-30 11:33:51 +00:00 
			
		
		
		
	python: Convert deprecated Django ugettext alias to gettext.
django.utils.translation.ugettext is a deprecated alias of django.utils.translation.gettext as of Django 3.0, and will be removed in Django 4.0. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							173ce9a3fc
						
					
				
				
					commit
					e7ed907cf6
				
			| @@ -3,7 +3,7 @@ from typing import Any, Dict, List, Set | ||||
|  | ||||
| from django.core.exceptions import ValidationError | ||||
| from django.http import HttpRequest, HttpResponse | ||||
| from django.utils.translation import ugettext as _ | ||||
| from django.utils.translation import gettext as _ | ||||
|  | ||||
| from zerver.lib.actions import recipient_for_user_profiles | ||||
| from zerver.lib.addressee import get_user_profiles_by_ids | ||||
|   | ||||
		Reference in New Issue
	
	Block a user