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

Form for setting SSH key. More...

Public Member Functions

def __init__
def clean_vm_key
 Cast 'vm_key' to int.

Static Public Attributes

tuple vm_username

Detailed Description

Form for setting SSH key.

Definition at line 88 of file vm.py.

Constructor & Destructor Documentation

def src.wi.forms.vm.SetSshKeyForm.__init__ (   self,
  args,
  kwargs 
)

Definition at line 95 of file vm.py.

Member Function Documentation

def src.wi.forms.vm.SetSshKeyForm.clean_vm_key (   self)

Cast 'vm_key' to int.

Definition at line 105 of file vm.py.

Member Data Documentation

tuple src.wi.forms.vm.SetSshKeyForm.vm_username
static
Initial value:
forms.RegexField(regex=regexp['login'],
initial="root",
widget=forms.TextInput(attrs=dict(attrs_dict, maxlength=35)),
error_messages={'invalid': regexp_text['login']},
label=_('Username'))

Definition at line 89 of file vm.py.


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