Permalink
Commits on Apr 16, 2018
  1. Further highlight the differences between 1.3.1 and 2.0

    vdboor committed Apr 16, 2018
  2. Reinserted v1.3.1 changelog after merging with "ours" strategy

    vdboor committed Apr 16, 2018
  3. Merge branch 'v1.3.x'

    vdboor committed Apr 16, 2018
  4. Release v1.3.1

    vdboor committed Apr 16, 2018
  5. Fixed template settings in example app

    vdboor committed Sep 30, 2017
    (cherry picked from commit 1949796)
  6. fix detecting whether childadmin has explicitly defined fields/fieldsets

    skirsdeda authored and vdboor committed Nov 20, 2017
    (cherry picked from commit 180df8e)
  7. further childadmin fieldsets improvements

    skirsdeda authored and vdboor committed Nov 20, 2017
    (cherry picked from commit 15426dc)
  8. Fixed applabel__ModelName___field looksups

    vdboor committed Nov 20, 2017
    Closes: #286
    (cherry picked from commit 8f0932b)
  9. Make sure reset_polymorphic_ctype() supports proxy models

    vdboor committed Oct 8, 2017
    (cherry picked from commit 04b5fb4)
  10. Fix support for proxy models in formsets and admin inlines

    vdboor committed Oct 8, 2017
    (cherry picked from commit c2768f8)
  11. Add UnsupportedChildType error for formsets

    vdboor committed Oct 8, 2017
    This also replaces the PolymorphicInlineModelAdmin.get_get_child_inline_instance()
    and BasePolymorphicModelFormSet._construct_form() lookup with UnsupportedChildType
    
    (cherry picked from commit cafaf95)
  12. Fix deleteText of |as_script_options

    vdboor committed Sep 30, 2017
    (cherry picked from commit 9f6e071)
  13. Improve docs of PolymorphicChildModelAdmin attributes

    vdboor committed Sep 30, 2017
    (cherry picked from commit c437524)
  14. Make the admin `base_model` setting optional.

    vdboor committed Sep 30, 2017
    It can be detected using get_base_polymorphic_model()
    
    (cherry picked from commit cf0cb24)
  15. Added `get_base_polymorphic_model()` to detect the common base class …

    vdboor committed Sep 30, 2017
    …for a polymorphic model.
    
    (cherry picked from commit 04d4181)
  16. fix error with .defer and child models that use the same parent

    trbs authored and vdboor committed Aug 30, 2017
    When using .defer on a PolymorphicQuerySet with multiple childs that
    subclass from the same polymorphic parent model yield an error like:
    
    >>> Base.objects.defer('ModelY___field_y')
    Traceback (most recent call last):
    ...
    FieldDoesNotExist: ModelX has no field named 'field_y'
    
    (cherry picked from commit 9500a21)
  17. Ensure consistent ordering in testing reset_polymorphic_ctype

    vdboor committed Aug 1, 2017
    Amends: 171d14f
    (cherry picked from commit 77797bf)
  18. Improve reset_polymorphic_ctype() for reliability and test it.

    vdboor committed Aug 1, 2017
    This function can now be safely used on a set of models.
    
    (cherry picked from commit 171d14f)
  19. Also introduce a new exception type for invalid database IDs

    vdboor committed Aug 1, 2017
    (cherry picked from commit 4835cd2)
  20. Provide a better error message when polymorphic_ctype_id is Null

    vdboor committed Aug 1, 2017
    refs #51, #140, #304
    
    (cherry picked from commit fb8eed7)
  21. `declared_fieldsets` typo fix

    nazarewk authored and vdboor committed Jul 5, 2017
    (cherry picked from commit 697df65)
  22. tests for abstract/swappable model initialization

    skirsdeda authored and vdboor committed Jul 25, 2017
    (cherry picked from commit 0fea8a4)
  23. Merge pull request #345 from T4m/patch-1

    vdboor committed Apr 16, 2018
    Update managers.rst
  24. Merge pull request #343 from apirobot/django-rest-polymorphic

    vdboor committed Apr 16, 2018
    Add django-rest-polymorphic to the third-party apps
Commits on Mar 14, 2018
  1. Merge pull request #344 from GeyseR/patch-1

    vdboor committed Mar 14, 2018
    Fixed link to Jacob Kaplan-Moss blog post
Commits on Mar 13, 2018
  1. Update managers.rst

    T4m committed Mar 13, 2018
    The PolymorphicManager must be instanciated
  2. Fixed link to Jacob Kaplan-Moss blog post

    GeyseR committed Mar 13, 2018
Commits on Mar 12, 2018
Commits on Feb 19, 2018
  1. fix manager docs imports

    vdboor committed Feb 19, 2018
    Mentioned in #61
Commits on Feb 5, 2018
  1. include test for missing Meta.manager_inheritance_from_future

    vdboor committed Feb 5, 2018
  2. Bump to v2.0.2

    vdboor committed Feb 5, 2018
  3. Fixed internal usage of deprecated `base_objects`

    vdboor committed Feb 5, 2018
    Reverted the change in f898f80 that
    also replaces the internal `base_objects` with `.non_polymorphic()`.
    That also changed which querysets was used. Use a clean queryset
    instead that has no select-related/prefetch information, etc.. like
    previous versions did.