Module ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore IfExp CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num With Call NameLoad NameStore body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad NameLoad Str Str Return Call NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr TryFinally body Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad Str body If CompareLtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AugAssignAdd NameStore Num Continue AugAssignAdd NameStore Call NameLoad NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr attr Str Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr TryFinally body Assign NameStore Num For NameStore Call NameLoad NameLoad Num body AugAssignAdd NameStore Call NameLoad NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr attr keyword NameLoad attr Str Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr TryFinally body Assign NameStore Num For NameStore Call NameLoad NameLoad Num body AugAssignAdd NameStore Call NameLoad NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list
N/A __future__ unicode_literals N/A io N/A logging N/A sys N/A traceback django.conf settings django.core.mail get_connection django.core.paginator Paginator django.utils timezone N/A StringIO N/A N/A N/A N/A sys version_info N/A 0 2 N/A io BytesIO N/A io StringIO N/A models N/A logger N/A N/A logging getLogger __name__ _chunked_iterate_queryset N/A N/A queryset chunk_size N/A 10 N/A N/A 
    Given a queryset, use a paginator for iterating over the queryset
    but obtaining from database delimited set of result parametrized
    with `chunk_size` parameter.
     N/A paginator N/A Paginator queryset chunk_size N/A page_index N/A paginator page_range N/A N/A page N/A N/A paginator page page_index N/A item N/A page object_list N/A N/A N/A item N/A _safe_send_message N/A N/A message_model connection N/A N/A N/A 
    Given a message model, try to send it, if it fails,
    increment retry count and save stack trace in
    message model.
     N/A email N/A N/A message_model get_email_message N/A sended 0 N/A N/A StringIO f N/A N/A N/A N/A sended N/A N/A connection send_messages N/A email N/A N/A N/A Exception N/A N/A N/A N/A traceback print_exc file f N/A N/A N/A f seek 0 N/A N/A message_model exception N/A N/A f read N/A N/A N/A logger error N/A message_model exception N/A N/A N/A sended 1 N/A N/A N/A message_model status N/A models STATUS_SENT N/A N/A message_model sent_at N/A N/A timezone now N/A N/A N/A message_model status N/A models STATUS_FAILED N/A N/A message_model retry_count 1 N/A N/A N/A message_model save N/A sended N/A _get_real_backend N/A N/A N/A N/A N/A real_backend_path N/A getattr settings DJMAIL_REAL_BACKEND django.core.mail.backends.console.EmailBackend N/A N/A get_connection backend real_backend_path fail_silently False N/A _send_messages N/A N/A email_messages N/A N/A N/A connection N/A _get_real_backend N/A email_models N/A N/A N/A N/A models Message from_email_message email save True N/A email email_messages N/A N/A N/A connection open N/A N/A N/A sended_counter 0 N/A N/A email model_instance N/A zip email_messages email_models N/A N/A N/A hasattr email priority N/A N/A N/A N/A email priority N/A models PRIORITY_LOW N/A N/A N/A model_instance priority N/A email priority N/A N/A model_instance status N/A models STATUS_PENDING N/A N/A N/A model_instance save N/A sended_counter 1 N/A N/A sended_counter N/A _safe_send_message model_instance connection N/A N/A N/A N/A connection close N/A sended_counter N/A _send_pending_messages N/A N/A N/A N/A N/A 
    Send pending, low priority messages.
     N/A queryset N/A N/A N/A N/A N/A N/A models Message objects filter status N/A models STATUS_PENDING order_by -priority created_at N/A connection N/A _get_real_backend N/A N/A N/A connection open N/A N/A N/A sended_counter 0 N/A message_model N/A _chunked_iterate_queryset queryset 100 N/A N/A sended_counter N/A _safe_send_message message_model connection N/A N/A N/A N/A connection close N/A sended_counter N/A _retry_send_messages N/A N/A N/A N/A N/A 
    Retry to send failed messages.
     N/A max_retry_value N/A getattr settings DJMAIL_MAX_RETRY_NUMBER 3 N/A queryset N/A N/A N/A N/A N/A N/A N/A N/A models Message objects filter status N/A models STATUS_FAILED filter retry_count__lte max_retry_value order_by -priority created_at N/A connection N/A _get_real_backend N/A N/A N/A connection open N/A N/A N/A sended_counter 0 N/A message_model N/A _chunked_iterate_queryset queryset 100 N/A N/A sended_counter N/A _safe_send_message message_model connection N/A N/A N/A N/A connection close N/A sended_counter N/A _mark_discarded_messages N/A N/A N/A N/A N/A 
    Search messages exceeding the global retry
    limit and marks them as discarded.
     N/A max_retry_value N/A getattr settings DJMAIL_MAX_RETRY_NUMBER 3 N/A queryset N/A N/A N/A N/A models Message objects filter status N/A models STATUS_FAILED retry_count__gt max_retry_value N/A N/A N/A queryset update status N/A models STATUS_DISCARDED N/A