tests Package

tests Package

factories Module

models Module

class kawaz.core.comments.tests.models.CommentTestArticle(id, text, author)[ソース]

ベースクラス: django.db.models.base.Model

exception DoesNotExist

ベースクラス: django.core.exceptions.ObjectDoesNotExist

exception CommentTestArticle.MultipleObjectsReturned

ベースクラス: django.core.exceptions.MultipleObjectsReturned

CommentTestArticle.author

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

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

child.parent is a ForwardManyToOneDescriptor instance.

CommentTestArticle.author_id

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

CommentTestArticle.id

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

CommentTestArticle.objects = <django.db.models.manager.Manager object>
CommentTestArticle.text

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

test_activity Module

test_perms Module

test_views Module