IMPORTANT: import path changed, it's now: "from polymorphic import PolymorphicModel, ..."

- added python2.4 compatibility. Contributed by Charles Leifer. Thanks!
- general reorganization of the code - there is no single polymorphic.py module anymore,
  so d-p now needs to be installed as a regular Django app
- polymorphic.VERSION/get_version added
- version numbering started: V0.5 beta
This commit is contained in:
Bert Constantin
2010-02-19 17:12:21 +01:00
parent e6c1e7ec6e
commit 116e2af08b
17 changed files with 1010 additions and 761 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
# -*- coding: utf-8 -*-
from django.db import models
from polymorphic.models import PolymorphicModel, PolymorphicManager, PolymorphicQuerySet, ShowFields, ShowFieldsAndTypes
from polymorphic import PolymorphicModel, PolymorphicManager, PolymorphicQuerySet, ShowFields, ShowFieldsAndTypes
class Project(ShowFields, PolymorphicModel):