def get_current_user():
    'Get current user.'
    current_user = User.objects.get_default()
    return current_user
Get current user.
def get_current_user():
    
    current_user = User.objects.get_default()
    return current_user