calingen.contrib.layouts.lineatur
¶
Implementation of LayoutProvider
that provides different kinds of ruled paper.
This layout is HTML-based and intended to be used to generate single pages with a given grid (“Lineatur”).
Warning
This layout does not include events!
Submodules¶
Package Contents¶
Classes¶
Provide different kinds of ruled paper. |
Attributes¶
The path to the app's default configuration class. |
- class calingen.contrib.layouts.lineatur.Lineatur¶
Bases:
calingen.interfaces.plugin_api.LayoutProvider
Provide different kinds of ruled paper.
The term lineatur can be translated (loosely) to ruled paper. It describes the lines or grids on paper, usually used for notes.
- _template = lineatur/layout.html¶
- configuration_form¶
- layout_type = html¶
- name = Lineatur¶
- orientation = portrait¶
- paper_size = various¶
- calingen.contrib.layouts.lineatur.default_app_config = calingen.contrib.layouts.lineatur.apps.CalingenLayoutLineaturConfig¶
The path to the app’s default configuration class.
Consider this legacy code. See Django’s documentation for details.
Notes
While the layout is provided as a “standalone Django app”, it is in fact nothing more than an implementation of
LayoutProvider
. The actual magic of registering the layout with the main app is not done in this app’sAppConfig
, but in this very file by importing theLineatur
class.