django-polymorphic/polymorphic
Ben Konrath 318dd3d67a Fixed the default manager test failures.
According to the django docs (1.4 / 1.5), the default manager for subclasses of
PolymorphicModel should be PolymorphicManager:

3. The default manager on a class is either the first manager declared on the
   class, if that exists, or the default manager of the first abstract base
   class in the parent hierarchy, if that exists. If no default manager is
   explicitly declared, Django’s normal default manager is used.

https://docs.djangoproject.com/en/1.4/topics/db/managers/#custom-managers-and-model-inheritance
https://docs.djangoproject.com/en/1.5/topics/db/managers/#custom-managers-and-model-inheritance
2013-03-18 20:56:12 +01:00
..
management polymorphic_dumpdata management command functionality removed; 2010-10-20 09:31:42 +02:00
templates/admin/polymorphic Remove unused load statements in add_type_form.html 2013-03-18 12:15:10 +01:00
templatetags Added polymorphic admin interface 2012-07-05 23:16:46 +02:00
__init__.py PEP 8 cleaning 2011-12-20 18:59:50 +00:00
admin.py Change the child model registration to fix raw_id_fields. 2012-07-24 21:50:52 +02:00
base.py PEP 8 cleaning 2011-12-20 18:59:50 +00:00
compatibility_tools.py PEP 8 cleaning 2011-12-20 18:59:50 +00:00
manager.py Explicit is better than implicit 2012-01-09 16:47:59 +01:00
models.py IMPORTANT: import path changed, it's now: "from polymorphic import PolymorphicModel, ..." 2010-02-22 16:16:00 +01:00
polymorphic_model.py SQL optimization, avoid query in pre_save_polymorphic() 2012-11-15 10:42:02 +01:00
query.py PEP 8 cleaning 2011-12-20 18:59:50 +00:00
query_translate.py PEP 8 cleaning 2011-12-20 18:59:50 +00:00
showfields.py PEP 8 cleaning 2011-12-20 18:59:50 +00:00
tests.py Fixed the default manager test failures. 2013-03-18 20:56:12 +01:00
tools_for_tests.py Update db_type method for Django >= 1.4 DB settings format. 2013-03-18 20:50:45 +01:00