Form for news' creation.
More...
Detailed Description
Form for news' creation.
Definition at line 38 of file news.py.
Member Data Documentation
tuple src.wi.forms.news.NewsForm.content |
|
static |
Initial value:forms.CharField(widget=forms.Textarea(attrs=dict(attrs_dict, maxlength=512)),
label=_('Content'),
help_text=_('News content - may include Markdown markup language, e.g., *text* for italics, **text** for bold text, * item for unordered list, 1. item for ordered list, [link name](http://address) for anchor, `code` for preformated code.'))
Definition at line 41 of file news.py.
tuple src.wi.forms.news.NewsForm.sticky |
|
static |
Initial value:forms.BooleanField(required=False,
label=_('Important'),
widget=forms.CheckboxInput(attrs={'class': 'checkbox'}),
help_text=_('Important news - will appear on the main page'))
Definition at line 44 of file news.py.
tuple src.wi.forms.news.NewsForm.topic |
|
static |
Initial value:forms.CharField(widget=forms.TextInput(attrs=dict(attrs_dict, maxlength=255)),
label=_('Topic'))
Definition at line 39 of file news.py.
The documentation for this class was generated from the following file: