Ignore:
Timestamp:
26 Apr 2012, 08:05:13 (12 years ago)
Author:
Henrik Bettermann
Message:

Rename state to app_state according to reg_state in students.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py

    r8039 r8282  
    5454
    5555    @property
    56     def state(self):
     56    def app_state(self):
    5757        return IWorkflowState(self).getState()
    5858
    5959    @property
    6060    def translated_state(self):
    61         return application_states_dict[self.state]
     61        return application_states_dict[self.app_state]
    6262
    6363    @property
     
    8484        """
    8585        # Is applicant in the correct state?
    86         if self.state != 'admitted':
     86        if self.app_state != 'admitted':
    8787            return False, "Applicant has not yet been admitted."
    8888        # Does registration number exist?
Note: See TracChangeset for help on using the changeset viewer.