Django Models - kombu.transport.django.models

class kombu.transport.django.models.Message(id, visible, sent_at, payload, queue)[source]
exception DoesNotExist
exception Message.MultipleObjectsReturned
Message.id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

Message.objects = <kombu.transport.django.managers.MessageManager object>
Message.payload

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

Message.queue

Accessor to the related object on the forward side of a many-to-one or one-to-one relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

child.parent is a ForwardManyToOneDescriptor instance.

Message.queue_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

Message.sent_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

Message.visible

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class kombu.transport.django.models.Queue(id, name)[source]
exception DoesNotExist
exception Queue.MultipleObjectsReturned
Queue.id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

Queue.messages

Accessor to the related objects manager on the reverse side of a many-to-one relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

parent.children is a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

Queue.name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

Queue.objects = <kombu.transport.django.managers.QueueManager object>