# HG changeset patch # User Lennard de Rijk # Date 1250097428 25200 # Node ID a315c83b6d7471db64bfb74812b17e4892a39b26 # Parent 13fa99bb0352bbfdfcf54f44f5abe08ef98415d3 Added basic GSoC module models. These models will be filled with GSoC specific entries once the transformation is complete. diff -r 13fa99bb0352 -r a315c83b6d74 app/soc/modules/gsoc/models/mentor.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" ', +] + + +import soc.models.mentor + + +class GSoCMentor(soc.models.mentor.Mentor): + """GSoC Mentor model extends the basic Mentor model. + """ + + pass diff -r 13fa99bb0352 -r a315c83b6d74 app/soc/modules/gsoc/models/org_admin.py --- /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" ', +] + + +import soc.models.org_admin + + +class GSoCOrgAdmin(soc.models.org_admin.OrgAdmin): + """GSoC Org Admin model extends the basic Org Admin model. + """ + pass diff -r 13fa99bb0352 -r a315c83b6d74 app/soc/modules/gsoc/models/organization.py --- /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" ', +] + + +import soc.models.organization + + +class GSoCOrganization(soc.models.organization.Organization): + """GSoC Organization model extends the basic Organization model. + """ + pass diff -r 13fa99bb0352 -r a315c83b6d74 app/soc/modules/gsoc/models/program.py --- /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" ', +] + + +import soc.models.program + + +class GSoCProgram(soc.models.program.Program): + """GSoC Program model extends the basic Program model. + """ + pass diff -r 13fa99bb0352 -r a315c83b6d74 app/soc/modules/gsoc/models/student.py --- /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" ', +] + + +import soc.models.student + + +class GSoCStudent(soc.models.student.Student): + """GSoC Student model extends the basic Student model. + """ + pass diff -r 13fa99bb0352 -r a315c83b6d74 app/soc/modules/gsoc/models/timeline.py --- /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" ', +] + + +import soc.models.timeline + + +class GSoCTimeline(soc.models.timeline.Timeline): + """GSoC Timeline model extends the basic Program Timeline model. + """ + pass