pagetools.pages package¶
Subpackages¶
Submodules¶
pagetools.pages.admin module¶
pagetools.pages.forms module¶
pagetools.pages.models module¶
pagetools.pages.settings module¶
pagetools.pages.urls module¶
pagetools.pages.views module¶
Module contents¶
A pagetools.pages.models.Page (or abstract pagetools.pages.models.BasePage)
inherits from Pagelike and adds
a “included_form” field, which consists of the Forms defined in the includable_forms attribute of the Model.
an “email_receivers” field which is only used if the selected an pagetools.pages.forms.SendEmailForm or a subclass.
a foreign key to
pagetools.widgets.models.PageType(See Widgets)a boolean field “login_required”
The pagetools.pages.views.PageView knows how to handle these attribues through its baseclasses/mixins.