mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	models: Extract zerver.models.users.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							37a9c4501f
						
					
				
				
					commit
					45bb8d2580
				
			@@ -10,7 +10,8 @@ from django.contrib.sessions.models import Session
 | 
			
		||||
from django.utils.timezone import now as timezone_now
 | 
			
		||||
 | 
			
		||||
from zerver.lib.timestamp import datetime_to_timestamp, timestamp_to_datetime
 | 
			
		||||
from zerver.models import Realm, UserProfile, get_user_profile_by_id
 | 
			
		||||
from zerver.models import Realm, UserProfile
 | 
			
		||||
from zerver.models.users import get_user_profile_by_id
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class SessionEngine(Protocol):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user