Commit Graph

  • 33c3efbfbe Merge pull request #29 from julianwachholz/master Chris Glass 2013-04-05 01:23:46 -0700
  • 32426aa41a Use self.assertEqual() in tests instead of assert statement. Diederik van der Boor 2013-03-05 18:16:50 +0100
  • 1df5b5ff03 Add runtests script Diederik van der Boor 2013-04-05 09:50:58 +0200
  • a6f8429aae django.conf.urls.defaults is deprecated; use django.conf.urls instead Julian Wachholz 2013-04-04 23:41:07 +0300
  • e7a2340723 Remove polymorphic_dumpdata command and assorted scripts. Diederik van der Boor 2013-03-28 14:10:03 +0100
  • 06ac5a4795 Convert Django project files in the root to example project. Diederik van der Boor 2013-03-28 13:59:35 +0100
  • addf2854e1 Cleanup pexp commands, remove direct settings import Diederik van der Boor 2013-03-28 13:52:44 +0100
  • 1d42927382 Bumped version in setup.py. Chris Glass 2013-03-25 10:11:09 +0100
  • 2aadab6038 Added Adam to AUTHORS. Thanks a lot! Chris Glass 2013-03-25 10:07:50 +0100
  • ced37a4872 Merge pull request #26 from floppya/update-gitignore Chris Glass 2013-03-25 02:05:00 -0700
  • 30172d3110 Merge pull request #24 from onepercentclub/port-regression-doctest-to-unit-test Chris Glass 2013-03-25 02:04:07 -0700
  • 60c1d43332 Merge pull request #23 from onepercentclub/update-urls Chris Glass 2013-03-25 02:03:12 -0700
  • 272673f7c3 Merge pull request #22 from onepercentclub/add-travis-config Chris Glass 2013-03-24 05:17:30 -0700
  • 8b6e3a0979 Ignore egg-info floppya 2013-03-23 14:14:13 -0600
  • 8e4697c741 Port regression doctest to unit test. Ben Konrath 2013-03-18 22:33:55 +0100
  • dc6f41c7e9 Update URLs to github hosted webpage. Ben Konrath 2013-03-18 21:27:23 +0100
  • 7f2f8a1d7f Add travis config. Ben Konrath 2013-03-18 21:11:31 +0100
  • 7cb733af72 Added Ben to AUTHORS. Thanks a lot! Chris Glass 2013-03-18 21:10:11 +0100
  • 758eb577e4 Merge pull request #20 from onepercentclub/add-tox-config Chris Glass 2013-03-18 13:09:07 -0700
  • 318dd3d67a Fixed the default manager test failures. Ben Konrath 2013-03-17 16:23:01 +0100
  • b718acf005 Update db_type method for Django >= 1.4 DB settings format. Ben Konrath 2013-03-17 16:23:01 +0100
  • 1ef9e068df Import settings in tests from django.conf. Ben Konrath 2013-03-17 16:23:00 +0100
  • 102817e54c Update DB settings for Django >= 1.4. Ben Konrath 2013-03-17 16:23:00 +0100
  • 25821cd4da Add tox configuration file. Ben Konrath 2013-03-17 16:23:00 +0100
  • 6b7edd06a6 Merge pull request #21 from vdboor/master Chris Glass 2013-03-18 07:37:13 -0700
  • 720a189f5a Remove unused load statements in add_type_form.html Diederik van der Boor 2013-03-18 12:14:02 +0100
  • 51b789cdc6 Point release fixes a merge error. Chris Glass 2013-02-28 11:27:51 +0100
  • c1d00ed5c1 Merge branch 'master' of github.com:chrisglass/django_polymorphic Chris Glass 2013-02-28 11:26:44 +0100
  • 72e1a144c1 Bumped setup.py version, Changes, for 0.3 release Chris Glass 2013-02-28 11:22:31 +0100
  • 2c1c5d7630 Merge pull request #12 from vdboor/master Chris Glass 2013-02-24 05:07:07 -0800
  • c22e50662d Merge branch 'install-admin-templates' of https://github.com/onepercentclub/django_polymorphic into onepercentclub-install-admin-templates Chris Glass 2013-02-24 14:04:31 +0100
  • 183d69ae87 Merge pull request #14 from thenewguy/master Chris Glass 2013-01-31 12:45:32 -0800
  • 9de33bd172 remove trailing '/' gordon 2012-12-16 19:22:02 -0500
  • e5eaaa987c Include templates in install. Ben Konrath 2012-12-10 18:02:12 +0100
  • eee5dda5ba Small admin documentation fix. Ben Konrath 2012-12-10 15:41:45 +0100
  • f687dc18b1 SQL optimization, avoid query in pre_save_polymorphic() Diederik van der Boor 2012-11-15 10:42:02 +0100
  • 28b8885236 Merge pull request #10 from vdboor/master Chris Glass 2012-08-06 01:39:08 -0700
  • bba8db1210 Also update the DOCS for the get_child_models() admin change. Diederik van der Boor 2012-07-24 21:55:01 +0200
  • 0d5f2fd943 Change the child model registration to fix raw_id_fields. Diederik van der Boor 2012-07-24 21:50:52 +0200
  • 0b608cc67e Minor extension: allow apps to override the type label in the add form easily Diederik van der Boor 2012-07-18 00:50:43 +0200
  • 8d426d9243 Remove abc marker because methods are no longer abstract Diederik van der Boor 2012-07-13 18:29:02 +0200
  • d5b1b6b56c Fix settings.py for Django 1.4 Diederik van der Boor 2012-07-13 17:44:37 +0200
  • a6d62ed630 Update the example app to demonstrate the polymorphic admin Diederik van der Boor 2012-07-13 10:59:35 +0200
  • 42d525a895 Added `url` in setup.py, so sdist actually works again. Diederik van der Boor 2012-07-13 10:58:52 +0200
  • 0950b86ca9 Added requires files to MANIFEST.in and setup.py Diederik van der Boor 2012-07-13 10:58:33 +0200
  • b2e308d30c Improve PolymorphicParentAdmin, simplify, fix templates Diederik van der Boor 2012-07-13 10:32:12 +0200
  • 2e76811adb Adding PolymorphicChildModelAdmin to __all__ as well Diederik van der Boor 2012-07-05 23:27:34 +0200
  • 5d65bf4bbc Added polymorphic admin interface Diederik van der Boor 2012-07-05 22:12:01 +0200
  • db4cc4dc3b Merge pull request #5 from ojii/patch-1 Chris Glass 2012-01-09 07:48:57 -0800
  • 870091c13f Explicit is better than implicit Jonas Obrist 2012-01-09 16:47:59 +0100
  • a5a517532f Added Germán to AUTHORS.rst Christopher Glass 2011-12-20 19:01:13 +0000
  • f987818fe4 PEP 8 cleaning German M. Bravo 2011-11-26 00:22:18 -0600
  • c9922d8987 PEP 8 cleaning German M. Bravo 2011-11-26 00:07:23 -0600
  • bb06d6d12b Some more PEP 8 cleaning German M. Bravo 2011-11-25 23:37:55 -0600
  • 741abf4228 Cleanup AUTHORS.rst Christopher Glass 2011-12-20 18:56:37 +0000
  • 11daac4fef Merge pull request #3 from mbrochh/dont_use_attrs Chris Glass 2011-12-20 10:53:00 -0800
  • ce97087f78 Started cleaning up Christopher Glass 2011-12-20 18:51:05 +0000
  • 60813621a1 Drew the line between legacy and new code. Christopher Glass 2011-12-20 18:49:20 +0000
  • dfc8eff1e1 Not using attrs when getting the first user defined manager. Martin Brochhaus 2011-12-09 15:22:38 +0800
  • 227810c49f Removed homepage URL from python packaging (this broke pip, as usual) Chris Glass 2011-08-02 14:18:04 +0200
  • c7cbfc0e23 Removed dead imports. Chris Glass 2011-05-19 15:16:39 +0200
  • 10b8901088 Edited polymorphic/showfields.py via GitHub Jonas Obrist 2011-05-19 06:08:39 -0700
  • 30f11a35d7 Edited polymorphic/query_translate.py via GitHub Jonas Obrist 2011-05-19 06:07:25 -0700
  • 6f8e31222d PEP-8, it's a thing! Jonas Obrist 2011-05-19 06:05:49 -0700
  • ba2cb60c9d Edited polymorphic/polymorphic_model.py via GitHub Jonas Obrist 2011-05-19 06:04:23 -0700
  • fabae70ed4 protip: after a colon in python, HIT THE ENTER KEY! Jonas Obrist 2011-05-19 06:02:53 -0700
  • f42c58c0d4 it's python, not javascript! Jonas Obrist 2011-05-19 06:01:07 -0700
  • 7b49fd133f Added packaging stuff to gitignore, created MANIFEST include (to ship the license and docs etc...) Chris Glass 2011-04-27 11:20:34 +0200
  • 000d480dfb Fixed typo Chris Glass 2011-04-27 11:11:31 +0200
  • 74a21efb17 Changed setup.py: Added maintainer field (me), and classifiers Chris Glass 2011-04-27 11:10:06 +0200
  • a0f1fe455a Added stuff to gitignore Chris Glass 2011-04-27 11:09:54 +0200
  • 2c47db8fcc Fixed github issue 15 (query result incomplete with inheritance). Thanks to John Debs. Bert Constantin 2011-01-24 16:37:38 +0100
  • 3cc7d483c1 minor additions in base.py Bert Constantin 2010-11-30 22:47:52 +0100
  • 4a4cfd82a2 translate_polymorphic_Q_object: fixed test case, and made the function a member of PolymorphicObject. Minor test fixes: warnings fixed, test_tool.py renamed as it's no test Bert Constantin 2010-11-12 06:33:50 +0100
  • ca329ff9b4 docs Bert Constantin 2010-11-11 17:11:01 +0100
  • 748d10d2d5 docs Bert Constantin 2010-11-05 22:24:07 +0100
  • f78b27dc1a updated docs, tests, misc Bert Constantin 2010-10-31 12:22:14 +0100
  • 52f32c1fc3 improved showfields.py for better and more precise output, updated tests Bert Constantin 2010-10-31 12:27:21 +0100
  • a4ac6cc91d fix object retrieval problem occuring with some custom primary key fields + added UUIDField as test case Bert Constantin 2010-10-30 15:54:13 +0200
  • 6befe6c733 added "queryset.get_real_instances()" usage, added testcase Bert Constantin 2010-10-25 09:28:08 +0200
  • 8c3df56cb6 non_polymorphic() queryset member function added Bert Constantin 2010-10-23 12:20:23 +0200
  • 19adbdaf2c extra(): Re-implemented. Now is polymorphic (nearly) without restrictions. Added test cases + docs. Bert Constantin 2010-10-23 10:58:44 +0200
  • 6c8d28cbbc extra(): throw error if unsupported argument is encountered, support 'params' argument, special case Django 1.1 Bert Constantin 2010-10-22 13:30:03 +0200
  • 486a579ac7 Make .extra() only disable polymorphic query if an arg that is currently not handled is actually used. I.e. if all args are supported, then do polymorphic query by default. Abel Daniel 2010-10-12 11:48:02 +0200
  • 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. Bert Constantin 2010-10-22 12:11:34 +0200
  • 6628145af7 removed __getattribute__ hack from PolymorphicModel. A somewhat cleaner solution is now used (through __init__) which also completely removes the performance impact of __getattribute__. Bert Constantin 2010-10-18 12:06:50 +0200
  • a87481b8b5 polymorphic_dumpdata management command functionality removed; the regular Django dumpdata command now automatically works correctly for polymorphic models and all Django versions (this is handled by PolymorphicModelBase now). Testing for dumpdata has been added. Bert Constantin 2010-10-18 17:39:06 +0200
  • f05b854a54 make PolymorphicQuerySet.get_real_instances() an official part of the API Bert Constantin 2010-10-19 18:55:30 +0200
  • b1905026bc Documentation updated. Test_all_versions script added. Some minor misc changes. Added polybench. Bert Constantin 2010-10-20 09:31:36 +0200
  • c10ff1650b added translate_polymorphic_Q_object Bert Constantin 2010-10-17 04:22:15 +0200
  • 01bdb2f9b0 - renamed ShowField* to ShowFieldType, ShowFieldContent, ShowFieldTypeAndContent, in order to reflect better what they do. - by default, django_polymorphic's pretty printing of querysets/objects (via ShowField*) is not used anymore - ShowField mixins now also show the annotations (after the regular fields, prepended by "Ann:") - cleaned up implementation. Bert Constantin 2010-10-16 14:40:27 +0200
  • 50b54f5aca removed requirement for primary key to be an IntegerField. mathieusteele 2010-10-14 19:14:58 -0700
  • 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 Bert Constantin 2010-02-19 17:12:21 +0100
  • e6c1e7ec6e fix "...has no attribute 'sub_and_superclass_dict'". Thanks to Mattias Brändström. this occurred if a subclass defined __init__ and accessed class members before calling the superclass __init__ (__getattribute__ had a problem, as "sub_and_superclass_dict" was set in __init__). Bert Constantin 2010-02-18 17:44:33 +0100
  • 7e584632b8 fix unnecessary field-name/model-name conflicts (i.e. field_name == model_name.lower() ) => __init__ + __getattribute__ now handle only the Django inheritance references that are needed ('modela_ptr', 'modelc' etc.), avoiding unnecessary conflicts with field names. Bert Constantin 2010-02-18 17:13:05 +0100
  • 2795f7acd5 some doc + minor code updates (__repr__ + Show... mixins) Bert Constantin 2010-02-04 18:09:15 +0100
  • 2fcb7fba1a queryset order_by method added, testcase, docs Bert Constantin 2010-02-02 17:29:31 +0100
  • b4aeae417e queryset values(), values_list(), distinct() documented; defer(), only() allowed (but not yet supported) Bert Constantin 2010-02-04 14:26:13 +0100
  • cf42a8111b setup.py added. Thanks to Andrew Ingram. Bert Constantin 2010-02-04 03:12:53 +0100
  • c10577c32f queryset aggregate() and extra() methods implemented, testcases, docs Bert Constantin 2010-02-02 09:13:58 +0100