Commit Graph

  • 9e7a78a8cb queryset annotate() method implemented, and testcase Bert Constantin 2010-02-02 07:33:27 +0100
  • a99a3b5bfc fix remaining potential accessor name clashes (but this only works with Django 1.2+, for 1.1 no changes). Thanks to Andrew Ingram. Bert Constantin 2010-02-02 08:40:56 +0100
  • ecaed2a71f fixed use of 'id', replaced with 'pk' Bert Constantin 2010-02-02 08:25:32 +0100
  • 2e17a184c0 fix select_related bug for objects from derived classes (till now sel.-r. was just ignored) Bert Constantin 2010-02-02 07:28:29 +0100
  • 2a740e9b10 doc- and minor code updates Bert Constantin 2010-01-30 20:30:37 +0100
  • 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. Bert Constantin 2010-01-29 14:53:53 +0100
  • 2055d03688 minor README.rst fix Bert Constantin 2010-01-29 13:52:15 +0100
  • 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. Bert Constantin 2010-01-29 00:41:54 +0100
  • dd84e911d0 fix "manage.py dumpdata", by adding polymorphic_dumpdata command (github issue 4) Bert Constantin 2010-01-28 23:55:16 +0100
  • d8cdfb02ff minor test case fix: MROBase1 Bert Constantin 2010-01-28 22:33:47 +0100
  • 53d82def56 (IMPORTANT, 2010-1-26 new db schema.) This patch here fixes issue 1 (github) In PolymorphicModelBase.__new__ we work around a limitation with the app_label detection in Django ModelBase (which could raise IndexError). Bert Constantin 2010-01-28 19:44:17 +0100
  • e51425f5df updated docs Bert Constantin 2010-01-27 01:03:01 +0100
  • 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. Bert Constantin 2010-01-25 17:46:45 +0100
  • da599856b6 added editable=False to internal model fields (issue2) Bert Constantin 2010-01-26 22:08:11 +0100
  • ba9a0b1302 updated docs, and moved them to DOCS.rst and README.rst Bert Constantin 2010-01-25 16:49:23 +0100
  • e3346bd4fb move test db to /var/tmp/ Bert Constantin 2010-01-25 16:47:28 +0100
  • 09fef376ac manage.py: prepend ./libraries-local to sys.path, allowing us to test any version of Django (after being copied there) Bert Constantin 2010-01-24 16:17:18 +0100
  • f77ebe8149 Model___field notation now automatically chooses correct application + separated translation into own function Bert Constantin 2010-01-21 18:34:59 +0100
  • 1ba36e9fb1 fix __getattribute__ rstrip bug Bert Constantin 2010-01-17 22:50:23 +0100
  • 889ce78f2e add pre_save_polymorphic(), split from save() Bert Constantin 2010-01-17 19:53:25 +0100
  • 2729187591 manager: proxy all unknown methods Bert Constantin 2010-01-16 18:03:25 +0100
  • 2e29b8f093 add polymorphic_internal_model_fields Bert Constantin 2010-01-16 18:01:58 +0100
  • acb7452c46 minor doc fixes Bert Constantin 2010-01-16 00:27:06 +0100
  • 576a16f2ab initial commit Bert Constantin 2010-01-15 21:13:36 +0100