Added GHOPStudent model which inherits from core Student model.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Mon, 24 Aug 2009 20:12:10 +0530
changeset 2790 c63bd7fcd7a9
parent 2789 259ce59acaf7
child 2791 c62f45595b8d
Added GHOPStudent model which inherits from core Student model.
app/soc/modules/ghop/models/student.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/modules/ghop/models/student.py	Mon Aug 24 20:12:10 2009 +0530
@@ -0,0 +1,35 @@
+#!/usr/bin/python2.5
+#
+# Copyright 2009 the Melange authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""This module contains the GHOP specific Student Model.
+"""
+
+__authors__ = [
+  '"Madhusudan.C.S" <madhusudancs@gmail.com>',
+]
+
+
+from google.appengine.ext import db
+
+from django.utils.translation import ugettext
+
+import soc.models.student
+
+
+class GHOPStudent(soc.models.student.Student):
+  """GHOP Student model extends the basic student model.
+  """
+  pass