app/soc/models/org_admin.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Sun, 01 Feb 2009 17:40:26 +0000
changeset 1160 56070e3badea
parent 1112 1a6eec8222e9
child 1261 95b858816568
permissions -rw-r--r--
Add publish_location boolean property to Role model. This field indicates whether the User has agreed to publish his location. It is not supported yet in any logic, views or templates but we won't want to change models later so it's being added now. Patch by: Pawel Solyga Reviewed by: to-be-reviewed

#!/usr/bin/python2.5
#
# Copyright 2008 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 Organization Administrator Model."""

__authors__ = [
  '"Pawel Solyga" <pawel.solyga@gmail.com>',
]


import soc.models.role


class OrgAdmin(soc.models.role.Role):
  """Adminitrator details for a specific Organization.
  """
  pass