Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body Import alias ImportFrom alias alias alias ImportFrom alias Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Str If Call NameLoad NameLoad Str NameLoad body ImportFrom alias Assign NameStore Call NameLoad orelse Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad Str Str ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Num keyword NameLoad keyword ListComp TupleLoad NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Num FunctionDef arguments args NameParam defaults body Return Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad Str NameLoad Call NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr keyword NameLoad If Call NameLoad NameLoad Str NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad keyword NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str ListLoad NameLoad Index Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Return Dict Str Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad Str NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ImportFrom alias alias ImportFrom alias ImportFrom alias alias Assign NameStore Lambda arguments args NameParam defaults AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad Str Str Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Str decorator_list Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad For NameStore NameLoad body Assign NameStore NameLoad If NameLoad body Assign NameStore Dict Str Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call NameLoad NameLoad keyword Str
N/A collections OrderedDict N/A requests django.conf settings django.core serializers django.db models N/A N/A django.utils simplejson json N/A N/A N/A ImportError N/A N/A json rest_hooks.utils get_module find_and_fire_hook distill_model_event rest_hooks signals N/A HOOK_EVENTS N/A getattr settings HOOK_EVENTS None N/A N/A HOOK_EVENTS None N/A N/A N/A Exception You need to define settings.HOOK_EVENTS! N/A N/A getattr settings HOOK_THREADING True N/A rest_hooks.client Client N/A client N/A Client N/A N/A client requests N/A AUTH_USER_MODEL N/A getattr settings AUTH_USER_MODEL auth.User Hook N/A N/A models Model N/A N/A 
    Stores a representation of a Hook.
     N/A created N/A N/A models DateTimeField auto_now_add True N/A updated N/A N/A models DateTimeField auto_now True N/A user N/A N/A models ForeignKey AUTH_USER_MODEL related_name hooks N/A event N/A N/A models CharField Event max_length 64 db_index True choices N/A N/A e e N/A e N/A N/A HOOK_EVENTS keys N/A target N/A N/A models URLField Target URL max_length 255 dict N/A N/A self N/A N/A N/A N/A id event target N/A self id N/A self event N/A self target N/A serialize_hook N/A N/A self instance N/A N/A N/A 
        Serialize the object down to Python primitives.

        By default it uses Django's built in serializer.
         N/A N/A N/A getattr instance serialize_hook None N/A callable N/A instance serialize_hook N/A N/A N/A N/A instance serialize_hook hook self N/A N/A getattr settings HOOK_SERIALIZER None N/A N/A serializer N/A get_module N/A settings HOOK_SERIALIZER N/A N/A serializer instance hook self N/A data N/A N/A N/A serializers serialize python N/A instance N/A 0 N/A N/A k v N/A N/A data items N/A N/A N/A isinstance v OrderedDict N/A N/A N/A data N/A k N/A dict v N/A N/A isinstance data OrderedDict N/A N/A data N/A dict data N/A N/A hook data N/A N/A self dict data N/A deliver_hook N/A N/A self instance payload_override N/A None N/A N/A 
        Deliver the payload to the target URL.

        By default it serializes to JSON and POSTs.
         N/A payload N/A payload_override N/A N/A self serialize_hook instance N/A N/A getattr settings HOOK_DELIVERER None N/A N/A deliverer N/A get_module N/A settings HOOK_DELIVERER N/A N/A deliverer N/A self target payload instance instance hook self N/A N/A N/A N/A client post url N/A self target data N/A N/A json dumps payload cls N/A N/A serializers json DjangoJSONEncoder headers N/A Content-Type application/json N/A N/A N/A N/A signals hook_sent_event send_robust sender N/A self __class__ payload payload instance instance hook self N/A None N/A __unicode__ N/A N/A self N/A N/A N/A N/A N/A {} => {} format N/A self event N/A self target N/A N/A django.db.models.signals post_save post_delete django.dispatch receiver rest_hooks.signals hook_event raw_hook_event N/A get_opts N/A N/A N/A m N/A N/A N/A N/A m _meta concrete_model _meta model_saved N/A N/A sender instance created raw using N/A kwargs N/A N/A 
    Automatically triggers "created" and "updated" actions.
     N/A opts N/A get_opts instance N/A model N/A N/A . join N/A N/A opts app_label N/A opts object_name N/A action N/A created created updated N/A N/A distill_model_event instance model action N/A N/A receiver post_save dispatch_uid instance-saved-hook model_deleted N/A N/A sender instance using N/A kwargs N/A N/A 
    Automatically triggers "deleted" actions.
     N/A opts N/A get_opts instance N/A model N/A N/A . join N/A N/A opts app_label N/A opts object_name N/A N/A distill_model_event instance model deleted N/A N/A receiver post_delete dispatch_uid instance-deleted-hook custom_action N/A N/A sender action instance user N/A None kwargs N/A N/A 
    Manually trigger a custom action (or even a standard action).
     N/A opts N/A get_opts instance N/A model N/A N/A . join N/A N/A opts app_label N/A opts object_name N/A N/A distill_model_event instance model action user_override user N/A N/A receiver hook_event dispatch_uid instance-custom-hook raw_custom_event N/A N/A sender event_name payload user send_hook_meta instance N/A True None kwargs N/A N/A 
    Give a full payload
     N/A hooks N/A N/A N/A Hook objects filter user user event event_name N/A hook hooks N/A N/A new_payload payload N/A send_hook_meta N/A N/A new_payload N/A hook data N/A N/A hook dict payload N/A N/A N/A hook deliver_hook instance payload_override new_payload N/A N/A receiver raw_hook_event dispatch_uid raw-custom-hook