shuup.testing.modules.content package

Submodules

shuup.testing.modules.content.data module

shuup.testing.modules.content.forms module

class shuup.testing.modules.content.forms.BehaviorWizardForm(**kwargs)[source]

Bases: Form

__init__(**kwargs)[source]
save()[source]

Create and configure the selected objects if needed.

base_fields = {'order_confirm_notification': <django.forms.fields.BooleanField object>}
declared_fields = {'order_confirm_notification': <django.forms.fields.BooleanField object>}
property media

Return all media required to render the widgets on this form.

class shuup.testing.modules.content.forms.ContentWizardForm(**kwargs)[source]

Bases: Form

__init__(**kwargs)[source]
save()[source]

Generate the selected pages if SimpleCMS is installed. Generate the Footer if xTheme is installed.

base_fields = {}
declared_fields = {}
property media

Return all media required to render the widgets on this form.

shuup.testing.modules.content.views module

class shuup.testing.modules.content.views.ContentWizardPane(request, object=None)[source]

Bases: WizardPane

Wizard Pane to add initial content pages and configure some behaviors of the shop

identifier = 'content'
icon = 'shuup_admin/img/configure.png'
title = 'Content & Behavior'
visible()[source]

Returns whether this pane is visible for editing.

valid()[source]

This pane will be only valid when at least SimpleCMS or xTheme or Notify are in INSTALLED APPS

property text

Encapsulate a function call and act as a proxy for methods that are called on the result of that function. The function is not evaluated until one of the methods on the result is called.

get_form_defs()[source]
form_valid(form)[source]

Module contents