apps/chat/models.py
def delete_long_polling(self, user_token):
        """
        Delete all processes linked to user_token
        :param user_token:
        """
        self.update(pull__long_polling__user_token=user_token)

        Delete all processes linked to user_token
        :param user_token:
        
Delete all processes linked to user_token
Delete all processes linked to user_token
def delete_long_polling(self, user_token):
        self.update(pull__long_polling__user_token=user_token)
def delete_long_polling ( self , user_token ) : self . update ( pull__long_polling__user_token = user_token )
Delete all processes linked to user_token
Delete all processes linked to user_token
"""
        Delete all processes linked to user_token
        :param user_token:
        """
self
user_token
None