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
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 aForwardManyToOneDescriptor
instance.
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.
-
exception