cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.wi.forms.storage.StorageForm Class Reference

Class for storage's creation form. More...

Static Public Attributes

tuple address
tuple capacity
tuple directory
tuple name

Detailed Description

Class for storage's creation form.

Definition at line 39 of file storage.py.

Member Data Documentation

tuple src.wi.forms.storage.StorageForm.address
static
Initial value:
forms.CharField(widget=forms.TextInput(attrs=dict(attrs_dict, maxlength=45)),
label=_("Address"),
help_text=_('Storage address - IP or DNS name'))

Definition at line 45 of file storage.py.

tuple src.wi.forms.storage.StorageForm.capacity
static
Initial value:
forms.IntegerField(min_value=1,
label=_("Maximum capacity [MB]"),
help_text=_('Maximum capacity - amount of usable space'))

Definition at line 42 of file storage.py.

tuple src.wi.forms.storage.StorageForm.directory
static
Initial value:
forms.CharField(widget=forms.TextInput(attrs=dict(attrs_dict, maxlength=45)),
label=_("Directory"),
help_text=_('Directory - nfs export directory'))

Definition at line 48 of file storage.py.

tuple src.wi.forms.storage.StorageForm.name
static
Initial value:
forms.CharField(widget=forms.TextInput(attrs=dict(attrs_dict, maxlength=45)),
label=_("Name"))

Definition at line 40 of file storage.py.


The documentation for this class was generated from the following file: