Package expedient :: Package clearinghouse :: Package roles :: Module models :: Class ProjectRoleRequest
[hide private]
[frames] | no frames]

Class ProjectRoleRequest

source code


A request for a project role

Nested Classes [hide private]
  DoesNotExist
  MultipleObjectsReturned

Inherited from django.db.models.base.Model: __metaclass__

Instance Methods [hide private]
 
approve(self, delegate) source code
 
deny(self) source code
 
objects(...)

Inherited from django.db.models.base.Model: __eq__, __hash__, __init__, __ne__, __reduce__, __repr__, __str__, clean, clean_fields, date_error_message, delete, full_clean, prepare_database_save, save, save_base, serializable_value, unique_error_message, validate_unique

Inherited from django.db.models.base.Model (private): _collect_sub_objects, _get_FIELD_display, _get_next_or_previous_by_FIELD, _get_next_or_previous_in_order, _get_pk_val, _get_unique_checks, _perform_date_checks, _perform_unique_checks, _set_pk_val

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

Class Variables [hide private]
  requester = models.ForeignKey(User, help_text= "User requestin...
  requested_role = models.ForeignKey(ProjectRole, help_text= "Ch...
  giver = models.ForeignKey(User, help_text= "Choose a user to m...
  message = models.TextField(blank= True, default= "", help_text...
  _base_manager = <django.db.models.manager.Manager object at 0x...
  _default_manager = <django.db.models.manager.Manager object at...
  _meta = <Options for ProjectRoleRequest>

Inherited from django.db.models.base.Model (private): _deferred

Properties [hide private]

Inherited from django.db.models.base.Model: pk

Inherited from object: __class__

Class Variable Details [hide private]

requester

Value:
models.ForeignKey(User, help_text= "User requesting the role.", relate\
d_name= "role_requests_made")

requested_role

Value:
models.ForeignKey(ProjectRole, help_text= "Choose a role to request.")

giver

Value:
models.ForeignKey(User, help_text= "Choose a user to make a request to\
.", related_name= "role_requests_received")

message

Value:
models.TextField(blank= True, default= "", help_text= "Add a personali\
zed message to the request.")

_base_manager

Value:
<django.db.models.manager.Manager object at 0x8d7b0ac>

_default_manager

Value:
<django.db.models.manager.Manager object at 0x8d7b0ac>