Added basic GSoC module models.
authorLennard de Rijk <ljvderijk@gmail.com>
Wed, 12 Aug 2009 10:17:08 -0700
changeset 2761 a315c83b6d74
parent 2760 13fa99bb0352
child 2762 02b464717ef5
Added basic GSoC module models. These models will be filled with GSoC specific entries once the transformation is complete.
app/soc/modules/gsoc/models/mentor.py
app/soc/modules/gsoc/models/org_admin.py
app/soc/modules/gsoc/models/organization.py
app/soc/modules/gsoc/models/program.py
app/soc/modules/gsoc/models/student.py
app/soc/modules/gsoc/models/timeline.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/modules/gsoc/models/mentor.py	Wed Aug 12 10:17:08 2009 -0700
@@ -0,0 +1,32 @@
+#!/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 GSoC specific Mentor Model.
+"""
+
+__authors__ = [
+  '"Lennard de Rijk" <ljvderijk@gmail.com>',
+]
+
+
+import soc.models.mentor
+
+
+class GSoCMentor(soc.models.mentor.Mentor):
+  """GSoC Mentor model extends the basic Mentor model.
+  """
+
+  pass
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/modules/gsoc/models/org_admin.py	Wed Aug 12 10:17:08 2009 -0700
@@ -0,0 +1,31 @@
+#!/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 GSoC specific Org Admin Model.
+"""
+
+__authors__ = [
+  '"Lennard de Rijk" <ljvderijk@gmail.com>',
+]
+
+
+import soc.models.org_admin
+
+
+class GSoCOrgAdmin(soc.models.org_admin.OrgAdmin):
+  """GSoC Org Admin model extends the basic Org Admin model.
+  """
+  pass
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/modules/gsoc/models/organization.py	Wed Aug 12 10:17:08 2009 -0700
@@ -0,0 +1,31 @@
+#!/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 GSoC specific Organization Model.
+"""
+
+__authors__ = [
+  '"Lennard de Rijk" <ljvderijk@gmail.com>',
+]
+
+
+import soc.models.organization
+
+
+class GSoCOrganization(soc.models.organization.Organization):
+  """GSoC Organization model extends the basic Organization model.
+  """
+  pass
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/modules/gsoc/models/program.py	Wed Aug 12 10:17:08 2009 -0700
@@ -0,0 +1,31 @@
+#!/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 GSoC specific Program Model.
+"""
+
+__authors__ = [
+  '"Lennard de Rijk" <ljvderijk@gmail.com>',
+]
+
+
+import soc.models.program
+
+
+class GSoCProgram(soc.models.program.Program):
+  """GSoC Program model extends the basic Program model.
+  """
+  pass
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/modules/gsoc/models/student.py	Wed Aug 12 10:17:08 2009 -0700
@@ -0,0 +1,31 @@
+#!/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 GSoC specific Student Model.
+"""
+
+__authors__ = [
+  '"Lennard de Rijk" <ljvderijk@gmail.com>',
+]
+
+
+import soc.models.student
+
+
+class GSoCStudent(soc.models.student.Student):
+  """GSoC Student model extends the basic Student model.
+  """
+  pass
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/modules/gsoc/models/timeline.py	Wed Aug 12 10:17:08 2009 -0700
@@ -0,0 +1,31 @@
+#!/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 GSoC specific Timeline Model.
+"""
+
+__authors__ = [
+  '"Lennard de Rijk" <ljvderijk@gmail.com>',
+]
+
+
+import soc.models.timeline
+
+
+class GSoCTimeline(soc.models.timeline.Timeline):
+  """GSoC Timeline model extends the basic Program Timeline model.
+  """
+  pass