tests Package¶
factories Module¶
models Module¶
-
class
kawaz.apps.stars.tests.models.StarTestArticle(id, pub_state, author, title)[source]¶ Bases:
django.db.models.base.Model-
exception
DoesNotExist¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
StarTestArticle.MultipleObjectsReturned¶ Bases:
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.parentis aForwardManyToOneDescriptorinstance.
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.
-
exception