Module ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias identifier FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Num Assign AttributeStore AttributeLoad NameLoad attr attr Dict AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad Str body Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot NameLoad CompareEq SubscriptLoad NameLoad Index Str Num body Return Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return Num If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str For NameStore NameLoad body Pass Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Str Str Expr Call NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpSub BinOpDiv BinOpSub AttributeLoad NameLoad attr Num Num Num For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr BinOpMult Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Dict Str Str Call NameLoad AttributeLoad NameLoad attr Str BinOpAdd ListComp Call NameLoad AttributeLoad NameLoad attr Str comprehension NameStore Call NameLoad Num ListLoad Dict Str Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword TupleLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list Assign NameStore Call Call NameLoad keyword Str NameLoad
N/A django.contrib.messages constants django.contrib.messages.tests.base BaseTest django.contrib.messages.storage.cookie CookieStorage MessageEncoder MessageDecoder django.contrib.messages.storage.base Message django.test.utils override_settings django.utils simplejson json set_cookie_data N/A N/A storage messages invalid encode_empty N/A False False N/A N/A 
    Sets ``request.COOKIES`` with the encoded data and removes the storage
    backend's loaded data cache.
     N/A encoded_data N/A N/A storage _encode messages encode_empty encode_empty N/A invalid N/A N/A encoded_data N/A encoded_data N/A 1 N/A N/A N/A storage request COOKIES N/A N/A CookieStorage cookie_name encoded_data N/A N/A hasattr storage _loaded_data N/A N/A N/A storage _loaded_data N/A stored_cookie_messages_count N/A N/A storage response N/A N/A N/A 
    Returns an integer containing the number of messages stored.
     N/A cookie N/A N/A N/A response cookies get N/A storage cookie_name N/A N/A N/A cookie N/A N/A cookie N/A max-age 0 N/A N/A 0 N/A data N/A N/A storage _decode N/A cookie value N/A N/A data N/A N/A 0 N/A N/A N/A data N/A -1 N/A CookieStorage not_finished N/A N/A N/A N/A data pop N/A N/A len data N/A CookieTest N/A BaseTest N/A N/A storage_class CookieStorage stored_messages_count N/A N/A self storage response N/A N/A N/A N/A stored_cookie_messages_count storage response N/A test_get N/A N/A self N/A N/A N/A storage N/A N/A self storage_class N/A N/A self get_request N/A example_messages N/A test me N/A N/A set_cookie_data storage example_messages N/A N/A N/A self assertEqual N/A list storage example_messages N/A test_domain N/A N/A self N/A N/A N/A 
        Ensure that CookieStorage honors SESSION_COOKIE_DOMAIN.
        Refs #15618.
         N/A storage N/A N/A self get_storage N/A response N/A N/A self get_response N/A N/A N/A storage add N/A constants INFO test N/A N/A N/A storage update response N/A N/A N/A self assertTrue N/A test N/A N/A N/A response cookies N/A messages value N/A N/A N/A self assertEqual N/A N/A N/A response cookies N/A messages N/A domain .lawrence.com N/A N/A N/A self assertEqual N/A N/A N/A response cookies N/A messages N/A expires N/A storage N/A N/A self get_storage N/A response N/A N/A self get_response N/A N/A N/A storage add N/A constants INFO test N/A m storage N/A N/A N/A N/A N/A storage update response N/A N/A N/A self assertEqual N/A N/A N/A response cookies N/A messages value N/A N/A N/A self assertEqual N/A N/A N/A response cookies N/A messages N/A domain .lawrence.com N/A N/A N/A self assertEqual N/A N/A N/A response cookies N/A messages N/A expires Thu, 01-Jan-1970 00:00:00 GMT N/A test_get_bad_cookie N/A N/A self N/A N/A N/A request N/A N/A self get_request N/A storage N/A N/A self storage_class request N/A example_messages N/A test me N/A N/A set_cookie_data storage example_messages invalid True N/A N/A N/A self assertEqual N/A list storage N/A N/A test_max_cookie_length N/A N/A self N/A N/A N/A 
        Tests that, if the data exceeds what is allowed in a cookie, older
        messages are removed before saving (and returned by the ``update``
        method).
         N/A storage N/A N/A self get_storage N/A response N/A N/A self get_response N/A msg_size N/A int N/A N/A N/A N/A CookieStorage max_cookie_size 54 4.5 37 N/A i N/A range 5 N/A N/A N/A N/A storage add N/A constants INFO N/A N/A str i msg_size N/A unstored_messages N/A N/A storage update response N/A cookie_storing N/A N/A self stored_messages_count storage response N/A N/A N/A self assertEqual cookie_storing 4 N/A N/A N/A self assertEqual N/A len unstored_messages 1 N/A N/A N/A self assertTrue N/A N/A N/A unstored_messages N/A 0 message N/A 0 msg_size N/A test_json_encoder_decoder N/A N/A self N/A N/A N/A 
        Tests that a complex nested data structure containing Message
        instances is properly encoded/decoded by the custom JSON
        encoder/decoder classes.
         N/A messages N/A N/A message message_list N/A Message N/A constants INFO Test message N/A N/A N/A Message N/A constants INFO message %s N/A x N/A xrange 5 N/A N/A another-message N/A Message N/A constants ERROR error N/A Message N/A constants INFO message %s N/A encoder N/A MessageEncoder separators N/A , : N/A value N/A N/A encoder encode messages N/A decoded_messages N/A N/A json loads value cls MessageDecoder N/A N/A N/A self assertEqual messages decoded_messages N/A N/A N/A CookieTest N/A N/A override_settings SESSION_COOKIE_DOMAIN .lawrence.com CookieTest