app/soc/models/timeline.py
changeset 771 0b1beae179f5
parent 766 046b4b51eabf
child 776 f86a76f52bf4
equal deleted inserted replaced
770:eb2e69312953 771:0b1beae179f5
    12 # distributed under the License is distributed on an "AS IS" BASIS,
    12 # distributed under the License is distributed on an "AS IS" BASIS,
    13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    14 # See the License for the specific language governing permissions and
    14 # See the License for the specific language governing permissions and
    15 # limitations under the License.
    15 # limitations under the License.
    16 
    16 
    17 """This module contains the Timeline Model."""
    17 """This module contains the Timeline Model.
       
    18 """
    18 
    19 
    19 __authors__ = [
    20 __authors__ = [
    20   '"Sverre Rabbelier" <sverre@rabbelier.nl>',
    21   '"Sverre Rabbelier" <sverre@rabbelier.nl>',
    21 ]
    22 ]
    22 
    23 
    30 
    31 
    31 class Timeline(base.ModelWithFieldAttributes):
    32 class Timeline(base.ModelWithFieldAttributes):
    32   """The Timeline Model, representing the timeline for a Program.
    33   """The Timeline Model, representing the timeline for a Program.
    33   """
    34   """
    34 
    35 
    35   program_start_data = db.DateTimeProperty(
    36   program_start = db.DateTimeProperty(
    36       verbose_name=ugettext_lazy('Program Start date'))
    37       verbose_name=ugettext_lazy('Program Start date'))
    37 
    38 
    38   program_end_data = db.DateTimeProperty(
    39   program_end = db.DateTimeProperty(
    39       verbose_name=ugettext_lazy('Program End date'))
    40       verbose_name=ugettext_lazy('Program End date'))
    40 
    41 
    41   org_signup_start = db.DateTimeProperty(
    42   org_signup_start = db.DateTimeProperty(
    42       verbose_name=ugettext_lazy('Organization Signup Start date'))
    43       verbose_name=ugettext_lazy('Organization Signup Start date'))
    43 
    44