app/soc/modules/ghop/models/student.py
author Daniel Hans <daniel.m.hans@gmail.com>
Sun, 08 Nov 2009 12:11:14 -0800
changeset 3082 da8cc38cabe9
parent 2790 c63bd7fcd7a9
permissions -rw-r--r--
TaskArbritraryTag now has auto_delete set to True by default. Reviewed by: Lennard de Rijk
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2790
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
#!/usr/bin/python2.5
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
#
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
# Copyright 2009 the Melange authors.
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
#
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
# Licensed under the Apache License, Version 2.0 (the "License");
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
# you may not use this file except in compliance with the License.
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
# You may obtain a copy of the License at
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
#
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
#   http://www.apache.org/licenses/LICENSE-2.0
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10
#
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
# Unless required by applicable law or agreed to in writing, software
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    12
# distributed under the License is distributed on an "AS IS" BASIS,
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    14
# See the License for the specific language governing permissions and
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    15
# limitations under the License.
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    17
"""This module contains the GHOP specific Student Model.
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
"""
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    20
__authors__ = [
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
  '"Madhusudan.C.S" <madhusudancs@gmail.com>',
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
]
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    24
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
from google.appengine.ext import db
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    27
from django.utils.translation import ugettext
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    28
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    29
import soc.models.student
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    30
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    31
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    32
class GHOPStudent(soc.models.student.Student):
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    33
  """GHOP Student model extends the basic student model.
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    34
  """
c63bd7fcd7a9 Added GHOPStudent model which inherits from core Student model.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    35
  pass