183d69ae87Merge pull request #14 from thenewguy/master
Chris Glass
2013-01-31 12:45:32 -0800
9de33bd172remove trailing '/'
gordon
2012-12-16 19:22:02 -0500
e5eaaa987cInclude templates in install.
Ben Konrath
2012-12-10 18:02:12 +0100
eee5dda5baSmall admin documentation fix.
Ben Konrath
2012-12-10 15:41:45 +0100
f687dc18b1SQL optimization, avoid query in pre_save_polymorphic()
Diederik van der Boor
2012-11-15 10:42:02 +0100
28b8885236Merge pull request #10 from vdboor/master
Chris Glass
2012-08-06 01:39:08 -0700
bba8db1210Also update the DOCS for the get_child_models() admin change.
Diederik van der Boor
2012-07-24 21:55:01 +0200
0d5f2fd943Change the child model registration to fix raw_id_fields.
Diederik van der Boor
2012-07-24 21:50:52 +0200
0b608cc67eMinor extension: allow apps to override the type label in the add form easily
Diederik van der Boor
2012-07-18 00:50:43 +0200
8d426d9243Remove abc marker because methods are no longer abstract
Diederik van der Boor
2012-07-13 18:29:02 +0200
d5b1b6b56cFix settings.py for Django 1.4
Diederik van der Boor
2012-07-13 17:44:37 +0200
a6d62ed630Update the example app to demonstrate the polymorphic admin
Diederik van der Boor
2012-07-13 10:59:35 +0200
42d525a895Added `url` in setup.py, so sdist actually works again.
Diederik van der Boor
2012-07-13 10:58:52 +0200
0950b86ca9Added requires files to MANIFEST.in and setup.py
Diederik van der Boor
2012-07-13 10:58:33 +0200
b2e308d30cImprove PolymorphicParentAdmin, simplify, fix templates
Diederik van der Boor
2012-07-13 10:32:12 +0200
2e76811adbAdding PolymorphicChildModelAdmin to __all__ as well
Diederik van der Boor
2012-07-05 23:27:34 +0200
5d65bf4bbcAdded polymorphic admin interface
Diederik van der Boor
2012-07-05 22:12:01 +0200
db4cc4dc3bMerge pull request #5 from ojii/patch-1
Chris Glass
2012-01-09 07:48:57 -0800
870091c13fExplicit is better than implicit
Jonas Obrist
2012-01-09 16:47:59 +0100
a5a517532fAdded Germán to AUTHORS.rst
Christopher Glass
2011-12-20 19:01:13 +0000
f987818fe4PEP 8 cleaning
German M. Bravo
2011-11-26 00:22:18 -0600
c9922d8987PEP 8 cleaning
German M. Bravo
2011-11-26 00:07:23 -0600
bb06d6d12bSome more PEP 8 cleaning
German M. Bravo
2011-11-25 23:37:55 -0600
741abf4228Cleanup AUTHORS.rst
Christopher Glass
2011-12-20 18:56:37 +0000
11daac4fefMerge pull request #3 from mbrochh/dont_use_attrs
Chris Glass
2011-12-20 10:53:00 -0800
ce97087f78Started cleaning up
Christopher Glass
2011-12-20 18:51:05 +0000
60813621a1Drew the line between legacy and new code.
Christopher Glass
2011-12-20 18:49:20 +0000
dfc8eff1e1Not using attrs when getting the first user defined manager.
Martin Brochhaus
2011-12-09 15:22:38 +0800
227810c49fRemoved homepage URL from python packaging (this broke pip, as usual)
Chris Glass
2011-08-02 14:18:04 +0200
c7cbfc0e23Removed dead imports.
Chris Glass
2011-05-19 15:16:39 +0200
10b8901088Edited polymorphic/showfields.py via GitHub
Jonas Obrist
2011-05-19 06:08:39 -0700
30f11a35d7Edited polymorphic/query_translate.py via GitHub
Jonas Obrist
2011-05-19 06:07:25 -0700
6f8e31222dPEP-8, it's a thing!
Jonas Obrist
2011-05-19 06:05:49 -0700
ba2cb60c9dEdited polymorphic/polymorphic_model.py via GitHub
Jonas Obrist
2011-05-19 06:04:23 -0700
fabae70ed4protip: after a colon in python, HIT THE ENTER KEY!
Jonas Obrist
2011-05-19 06:02:53 -0700
f42c58c0d4it's python, not javascript!
Jonas Obrist
2011-05-19 06:01:07 -0700
7b49fd133fAdded packaging stuff to gitignore, created MANIFEST include (to ship the license and docs etc...)
Chris Glass
2011-04-27 11:20:34 +0200
000d480dfbFixed typo
Chris Glass
2011-04-27 11:11:31 +0200
74a21efb17Changed setup.py: Added maintainer field (me), and classifiers
Chris Glass
2011-04-27 11:10:06 +0200
a0f1fe455aAdded stuff to gitignore
Chris Glass
2011-04-27 11:09:54 +0200
2c47db8fccFixed github issue 15 (query result incomplete with inheritance). Thanks to John Debs.
Bert Constantin
2011-01-24 16:37:38 +0100
3cc7d483c1minor additions in base.py
Bert Constantin
2010-11-30 22:47:52 +0100
4a4cfd82a2translate_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
ca329ff9b4docs
Bert Constantin
2010-11-11 17:11:01 +0100
748d10d2d5docs
Bert Constantin
2010-11-05 22:24:07 +0100
f78b27dc1aupdated docs, tests, misc
Bert Constantin
2010-10-31 12:22:14 +0100
52f32c1fc3improved showfields.py for better and more precise output, updated tests
Bert Constantin
2010-10-31 12:27:21 +0100
a4ac6cc91dfix object retrieval problem occuring with some custom primary key fields + added UUIDField as test case
Bert Constantin
2010-10-30 15:54:13 +0200
6befe6c733added "queryset.get_real_instances()" usage, added testcase
Bert Constantin
2010-10-25 09:28:08 +0200
8c3df56cb6non_polymorphic() queryset member function added
Bert Constantin
2010-10-23 12:20:23 +0200
19adbdaf2cextra(): Re-implemented. Now is polymorphic (nearly) without restrictions. Added test cases + docs.
Bert Constantin
2010-10-23 10:58:44 +0200
6c8d28cbbcextra(): throw error if unsupported argument is encountered, support 'params' argument, special case Django 1.1
Bert Constantin
2010-10-22 13:30:03 +0200
486a579ac7Make .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
b2357592cbmake 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
6628145af7removed __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
a87481b8b5polymorphic_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
f05b854a54make PolymorphicQuerySet.get_real_instances() an official part of the API
Bert Constantin
2010-10-19 18:55:30 +0200
b1905026bcDocumentation updated. Test_all_versions script added. Some minor misc changes. Added polybench.
Bert Constantin
2010-10-20 09:31:36 +0200
c10ff1650badded 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
50b54f5acaremoved requirement for primary key to be an IntegerField.
mathieusteele
2010-10-14 19:14:58 -0700
116e2af08bIMPORTANT: 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
e6c1e7ec6efix "...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
7e584632b8fix 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
2795f7acd5some doc + minor code updates (__repr__ + Show... mixins)
Bert Constantin
2010-02-04 18:09:15 +0100