app/soc/models/expando_base.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 18 Sep 2009 20:06:28 +0200
changeset 2957 f6515daaf000
parent 2763 80d625f78176
permissions -rw-r--r--
Enable document system for GHOP As can be seen from the changes outside app/soc/modules, there is still some work to be done to make the modules fully restricted to configuration changes and code in app/soc/modules. Reviewed-by: Sverre Rabbelier
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2763
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     1
#!/usr/bin/python2.5
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     2
#
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     3
# Copyright 2009 the Melange authors.
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     4
#
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     5
# Licensed under the Apache License, Version 2.0 (the "License");
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     6
# you may not use this file except in compliance with the License.
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     7
# You may obtain a copy of the License at
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     8
# 
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     9
#   http://www.apache.org/licenses/LICENSE-2.0
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    10
# 
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    11
# Unless required by applicable law or agreed to in writing, software
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    12
# distributed under the License is distributed on an "AS IS" BASIS,
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    13
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    14
# See the License for the specific language governing permissions and
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    15
# limitations under the License.
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    16
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    17
"""Module that cointains base class for Melange Expando models.
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    18
"""
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    19
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    20
__authors__ = [
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    21
  '"Lennard de Rijk" <ljvderijk@gmail.com>',
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    22
]
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    23
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    24
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    25
from google.appengine.ext import db
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    26
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    27
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    28
class ExpandoBase(db.Expando):
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    29
  """Expando Base model.
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    30
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    31
  This might later on contain general functionalities like the
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    32
  ModelWithFieldAttributes model.
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    33
  """
80d625f78176 Added base Model for Expando models.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    34
  pass