Commit Graph

17 Commits (c1d00ed5c1fd18bca2fd3fb57ce823111c070ff6)

Author SHA1 Message Date
Bert Constantin ca329ff9b4 docs 2010-11-11 17:11:01 +01:00
Bert Constantin 748d10d2d5 docs 2010-11-05 22:24:07 +01:00
Bert Constantin f78b27dc1a updated docs, tests, misc 2010-11-02 12:21:46 +01:00
Bert Constantin b2357592cb make sure 'base_manager is not inherited (but managed by Django instead).
(This seems more correct but it doen't seem to make any difference.)
Also added related test cases.
2010-10-22 13:35:39 +02:00
Bert Constantin b1905026bc Documentation updated.
Test_all_versions script added.
Some minor misc changes.
Added polybench.
2010-10-20 09:31:36 +02:00
Bert Constantin 116e2af08b 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
2010-02-22 16:16:00 +01:00
Bert Constantin 2795f7acd5 some doc + minor code updates (__repr__ + Show... mixins) 2010-02-18 20:04:38 +01:00
Bert Constantin 2a740e9b10 doc- and minor code updates 2010-02-04 15:13:33 +01:00
Bert Constantin c7ac78e08d Fixed ContentType related field accessor clash (an error emitted by model validation),
by adding related_name to the ContentType ForeignKey. Thanks to  Andrew Ingram.
This happened if a polymorphc model used a ContentType ForeignKey.
Plus minor documentation updates.
2010-01-30 14:15:52 +01:00
Bert Constantin 2055d03688 minor README.rst fix 2010-01-29 13:55:38 +01:00
Bert Constantin 8bdda93e76 Restructured django_polymorphic into a regular add-on application.
This is needed for the management commands, and also seems
to be a generally good idea for future viablity as well.
Also misc documentation updates.
2010-01-29 13:41:19 +01:00
Bert Constantin e51425f5df updated docs 2010-01-28 20:39:07 +01:00
Bert Constantin c2b420aea0 IMPORTANT: DB schema changed: Django's ContentType is now used
instead of app-label and model-name (suggested by Ilya Semenov in issue 3).
This is a cleaner and more efficient solution, and applabel/modelname
are not stored redundantly in additional tables any more (the polymorphic models).
This should be the final DB schema now (sorry for any inconvenience).
Also some minor documentation updates.
2010-01-26 22:31:56 +01:00
Bert Constantin ba9a0b1302 updated docs, and moved them to DOCS.rst and README.rst 2010-01-26 14:28:22 +01:00
Bert Constantin f77ebe8149 Model___field notation now automatically chooses correct application + separated translation into own function 2010-01-23 06:42:01 +01:00
Bert Constantin acb7452c46 minor doc fixes 2010-01-16 00:32:36 +01:00
Bert Constantin 576a16f2ab initial commit 2010-01-15 21:13:36 +01:00