mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							e56863fa85
						
					
				
				
					commit
					93198a19ed
				
			@@ -90,9 +90,9 @@ def accounts_accept_terms(request: HttpRequest) -> HttpResponse:
 | 
			
		||||
        request.user.tos_version == UserProfile.TOS_VERSION_BEFORE_FIRST_LOGIN
 | 
			
		||||
        and settings.FIRST_TIME_TERMS_OF_SERVICE_TEMPLATE is not None
 | 
			
		||||
    ):
 | 
			
		||||
        context[
 | 
			
		||||
            "first_time_terms_of_service_message_template"
 | 
			
		||||
        ] = settings.FIRST_TIME_TERMS_OF_SERVICE_TEMPLATE
 | 
			
		||||
        context["first_time_terms_of_service_message_template"] = (
 | 
			
		||||
            settings.FIRST_TIME_TERMS_OF_SERVICE_TEMPLATE
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
    return render(
 | 
			
		||||
        request,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user