Skip to content

Factories

hypha.home.factories

ApplySiteFactory

Bases: SiteFactory

hostname class-attribute instance-attribute

hostname = 'apply.localhost'

is_default_site class-attribute instance-attribute

is_default_site = True

Meta

django_get_or_create class-attribute instance-attribute
django_get_or_create = ('hostname')

ApplyHomePageFactory

Bases: PageFactory

title class-attribute instance-attribute

title = 'Apply Home'

slug class-attribute instance-attribute

slug = 'apply'

Meta

model class-attribute instance-attribute
model = ApplyHomePage