# HG changeset patch # User Lennard de Rijk # Date 1243638200 -7200 # Node ID 85ed68167efbf6331e0f9dc73249c803de20785e # Parent da259152a61bca4ecbf5771969e396361c61e644 Added GHOP specific Mentor and Org Admin Models. diff -r da259152a61b -r 85ed68167efb app/ghop/models/mentor.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/ghop/models/mentor.py Sat May 30 01:03:20 2009 +0200 @@ -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 GHOP specific Mentor Model. +""" + +__authors__ = [ + '"Lennard de Rijk" ', +] + + +import soc.models.mentor + + +class GHOPMentor(soc.models.mentor.Mentor): + """GHOP Mentor model extends the basic Mentor model. + """ + + pass diff -r da259152a61b -r 85ed68167efb app/ghop/models/org_admin.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/ghop/models/org_admin.py Sat May 30 01:03:20 2009 +0200 @@ -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 GHOP specific Org Admin Model. +""" + +__authors__ = [ + '"Lennard de Rijk" ', +] + + +import soc.models.org_admin + + +class GHOPOrgAdmin(soc.models.org_admin.OrgAdmin): + """GHOP Org Admin model extends the basic Org Admin model. + """ + + pass