tests Package

factories Module

models Module

class kawaz.apps.stars.tests.models.StarTestArticle(id, pub_state, author, title)[ソース]

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

exception DoesNotExist

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

exception StarTestArticle.MultipleObjectsReturned

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

StarTestArticle.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.

StarTestArticle.author_id

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

StarTestArticle.get_pub_state_display(*moreargs, **morekwargs)
StarTestArticle.id

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

StarTestArticle.objects = <django.db.models.manager.Manager object>
StarTestArticle.pub_state

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

StarTestArticle.title

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

test_api Module

test_models Module

test_perms Module

test_templatetags Module