Package expedient :: Package clearinghouse :: Package roles :: Module forms :: Class ProjectRoleForm
[hide private]
[frames] | no frames]

Class ProjectRoleForm

source code


Form to create/update ProjectRole instances

Nested Classes [hide private]
  Meta

Inherited from django.forms.models.ModelForm: __metaclass__

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
clean_obj_permissions(self) source code

Inherited from django.forms.models.BaseModelForm: clean, save, validate_unique

Inherited from django.forms.models.BaseModelForm (private): _get_validation_exclusions, _post_clean, _update_errors

Inherited from django.forms.forms.BaseForm: __getitem__, __iter__, __unicode__, add_initial_prefix, add_prefix, as_p, as_table, as_ul, full_clean, has_changed, hidden_fields, is_multipart, is_valid, non_field_errors, visible_fields

Inherited from django.forms.forms.BaseForm (private): _clean_fields, _clean_form, _get_changed_data, _get_errors, _get_media, _html_output, _raw_value

Inherited from django.utils.encoding.StrAndUnicode: __str__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  obj_permissions = PermissionModelMultipleChoiceField(ObjectPer...
  _meta = <django.forms.models.ModelFormOptions object at 0x8f61...
  base_fields = {'name': <django.forms.fields.CharField object a...
  declared_fields = {'obj_permissions': <expedient.clearinghouse...
Properties [hide private]
  media
Provide a description of all media required to render the widgets on this form

Inherited from django.forms.forms.BaseForm: changed_data, errors

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

obj_permissions

Value:
PermissionModelMultipleChoiceField(ObjectPermission.objects.get_empty_\
query_set(), label= "Role's permissions", help_text= "Select the permi\
ssions that users who have role should have.", widget= PermissionCheck\
boxTableSelectMultiple,)

_meta

Value:
<django.forms.models.ModelFormOptions object at 0x8f6130c>

base_fields

Value:
{'name': <django.forms.fields.CharField object at 0x8f6136c>, 'descrip\
tion': <django.forms.fields.CharField object at 0x8f6142c>, 'obj_permi\
ssions': <expedient.clearinghouse.roles.forms.PermissionModelMultipleC\
hoiceField object at 0x8f6128c>}

declared_fields

Value:
{'obj_permissions': <expedient.clearinghouse.roles.forms.PermissionMod\
elMultipleChoiceField object at 0x8f6128c>}

Property Details [hide private]

media

Provide a description of all media required to render the widgets on this form

Get Method:
unreachable._media(self)