logentries_api/special_alerts.py
def _get_login_payload(self, username, password):
        """
        returns the payload the login page expects
        :rtype: dict
        """
        payload = {
            'csrfmiddlewaretoken': self._get_csrf_token(),
            'ajax': '1',
            'next': '/app/',
            'username': username,
            'password': password
        }
        return payload
def _get_login_payload(self, username, password):
        """
        returns the payload the login page expects
        :rtype: dict
        """
        payload = {
            'csrfmiddlewaretoken': self._get_csrf_token(),
            'ajax': '1',
            'next': '/app/',
            'username': username,
            'password': password
        }
        return payload
def _get_login_payload ( self , username , password ) : payload = { 'csrfmiddlewaretoken' : self . _get_csrf_token ( ) , 'ajax' : '1' , 'next' : '/app/' , 'username' : username , 'password' : password } return payload
returns the payload the login page expects
        :rtype: dict
returns the payload the login page expects : rtype : dict