app/feedparser/LICENSE
author Pawel Solyga <Pawel.Solyga@gmail.com>
Sat, 22 Nov 2008 22:44:02 +0000
changeset 568 6713617751b4
parent 151 6f8eb27752dc
permissions -rw-r--r--
Remove inheritance from PolyModel in Answer and Linkable model. Replace PolyModel inheritance with base.ModelWithFieldAttributes. A little explanation why we are trying to get rid of PolyModel. We decided to use PolyModel in order to get support for model inheritance in App Engine, however as we know this was a hacky workaround which added inheritance_line property to each model. Recent commits which added Linkable model caused our data viewer in admin console to show only one model "Linkable" since all of the classes inherited from it. Basically datastore viewer was useless plus we had a really big mess in datastore since everything was of one kind (Linkable). It's almost like creating one huge table in SQL database. Upcoming commits will eliminate all usage of PolyModel and finally remove PolyModel from our repository. We are still using inheritance however this doesn't modify how models are saved in data store so basically it's like copy and paste of properties from parent models. Patch by: Pawel Solyga, Sverre Rabbelier
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
151
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     1
Copyright (c) 2002-2006, Mark Pilgrim, All rights reserved.
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     2
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     3
Redistribution and use in source and binary forms, with or without modification,
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     4
are permitted provided that the following conditions are met:
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     5
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     6
* Redistributions of source code must retain the above copyright notice,
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     7
  this list of conditions and the following disclaimer.
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     8
* Redistributions in binary form must reproduce the above copyright notice,
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     9
  this list of conditions and the following disclaimer in the documentation
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    10
  and/or other materials provided with the distribution.
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    11
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    12
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    13
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    14
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    15
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    16
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    17
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    18
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    19
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    20
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    21
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    22
POSSIBILITY OF SUCH DAMAGE.
6f8eb27752dc Move third-party feedparser.py out of the soc framework package into its own
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    23