Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore BinOpAdd Call NameLoad NameLoad NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad ListComp Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr For NameStore NameLoad body For NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad Call NameLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad Call NameLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword BinOpAdd Str AttributeLoad NameLoad attr ClassDef bases body Assign NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpOr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad Call NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return UnaryOpNot AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareGt Call AttributeLoad AttributeLoad NameLoad attr attr Num body Return SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad ClassDef bases body Assign NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad Call NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad NameLoad attr If UnaryOpNot NameLoad body Raise Call NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list
N/A datetime datetime django.db models utils.modules try_import get_classes errors NoConnectionError MessageSendingError conf settings ExtensibleModelBase N/A N/A N/A models base ModelBase N/A __new__ N/A N/A cls name bases attrs N/A N/A N/A module_name N/A attrs N/A __module__ N/A app_label N/A N/A N/A module_name split . N/A -2 N/A extensions N/A _find_extensions app_label name N/A bases N/A N/A tuple extensions bases N/A N/A N/A N/A super ExtensibleModelBase cls __new__ cls name bases attrs N/A N/A _find_extensions N/A N/A app_label model_name N/A N/A N/A ext N/A N/A suffix N/A extensions.%s.%s N/A app_label N/A N/A model_name lower N/A modules N/A filter None N/A N/A try_import N/A %s.%s N/A app_name suffix N/A app_name N/A settings INSTALLED_APPS N/A module modules N/A N/A cls N/A get_classes module N/A models Model N/A N/A N/A N/A ext append cls N/A ext N/A Backend N/A N/A models Model N/A N/A 
    This model isn't really a backend. Those are regular Python classes,
    in rapidsms/backends. This is just a stub model to provide a primary
    key for each running backend, so other models can be linked to it
    with ForeignKeys.
     N/A name N/A N/A models CharField max_length 20 unique True __unicode__ N/A N/A self N/A N/A N/A N/A self name N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s: %s> N/A N/A N/A type self __name__ self N/A N/A App N/A N/A models Model N/A N/A 
    This model isn't really a RapidSMS App. Like Backend, it's just a
    stub model to provide a primary key for each app, so other models
    can be linked to it.

    The Django ContentType stuff doesn't quite work here, since not all
    RapidSMS apps are valid Django apps. It would be nice to fill in the
    gaps and inherit from it at some point in the future.

    Instances of this model are generated by the update_apps management
    command, (which is hooked on Router startup (TODO: webui startup)),
    and probably shouldn't be messed with after that.
     N/A module N/A N/A models CharField max_length 100 unique True N/A active N/A N/A models BooleanField __unicode__ N/A N/A self N/A N/A N/A N/A self module N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s: %s> N/A N/A N/A type self __name__ self N/A N/A ContactBase N/A N/A models Model N/A N/A name N/A N/A models CharField max_length 100 blank True N/A language N/A N/A models CharField max_length 6 blank True help_text N/A The language which this contact prefers to communicate in, as a W3C language tag. If this field is left blank, RapidSMS will default to:  N/A settings LANGUAGE_CODE Meta N/A N/A N/A abstract True N/A __unicode__ N/A N/A self N/A N/A N/A N/A N/A self name Anonymous N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s: %s> N/A N/A N/A type self __name__ self N/A is_anonymous N/A N/A self N/A N/A N/A N/A N/A self name N/A property default_connection N/A N/A self N/A N/A N/A 
        Return the default connection for this person.
         N/A N/A N/A N/A N/A self connection_set count 0 N/A N/A N/A N/A N/A N/A self connection_set all N/A 0 N/A None N/A property message N/A N/A self template N/A kwargs N/A N/A 
        Attempt to send a message to this contact via their default
        connection. Like any outgoing message, it may be aborted during
        the ``outgoing`` phase, or be rejected by the backend. In these
        cases, MessageSendingError is raised. If no default connection
        exists, NoConnectionError is raised.
         N/A N/A N/A self default_connection None N/A N/A N/A NoConnectionError N/A was_sent N/A N/A N/A self default_connection message template kwargs N/A N/A was_sent N/A N/A N/A MessageSendingError N/A True N/A N/A Contact N/A ContactBase N/A N/A __metaclass__ ExtensibleModelBase N/A ConnectionBase N/A N/A models Model N/A N/A backend N/A N/A models ForeignKey Backend N/A identity N/A N/A models CharField max_length 100 N/A contact N/A N/A models ForeignKey Contact null True blank True Meta N/A N/A N/A abstract True N/A __unicode__ N/A N/A self N/A N/A N/A N/A %s via %s N/A N/A self identity N/A self backend N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s: %s> N/A N/A N/A type self __name__ self N/A message N/A N/A self template N/A kwargs N/A N/A 
        Attempt to send a message to this connection. Like any outgoing
        message, it may be aborted during the ``outgoing`` phase, or be
        rejected by the backend. In these cases, MessageSendingError is
        raised. (There is currently no way to know *why* the message was
        not sent, so we raise a generic error.)

        This method can only be called in the ``runrouter`` process,
        since the router is currently not accessible from the webui
        process(es). If no router is running, NoRouterError is raised
        (by the ``OutgoingMessage.send`` method).
         messages.outgoing OutgoingMessage N/A was_sent N/A N/A N/A OutgoingMessage self template kwargs send N/A N/A was_sent N/A N/A N/A MessageSendingError N/A True N/A N/A Connection N/A ConnectionBase N/A N/A 
    This model pairs a Backend object with an identity unique to it (eg.
    a phone number, email address, or IRC nick), so RapidSMS developers
    need not worry about which backend a messge originated from.
     N/A __metaclass__ ExtensibleModelBase N/A