head 1.9; access; symbols pkgsrc-2023Q4:1.9.0.4 pkgsrc-2023Q4-base:1.9 pkgsrc-2023Q3:1.9.0.2 pkgsrc-2023Q3-base:1.9 pkgsrc-2023Q2:1.7.0.12 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.10 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.8 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.6 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.4 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.2 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.6.0.8 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.6 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.4 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.2 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.5.0.6 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.4 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.2 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.4.0.10 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.12 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.8 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.6 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.4 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.2 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.3.0.6 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.4 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.2 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.2.0.16 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.14 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.10 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.8 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.6 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.4 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.2 pkgsrc-2016Q2-base:1.2; locks; strict; comment @# @; 1.9 date 2023.08.30.14.36.56; author adam; state Exp; branches; next 1.8; commitid hFi2beUxau2WROCE; 1.8 date 2023.07.13.10.03.28; author wiz; state Exp; branches; next 1.7; commitid FVBRhonHqK8MTCwE; 1.7 date 2022.01.04.20.55.20; author wiz; state Exp; branches; next 1.6; commitid CYyhdK9qtoffkmnD; 1.6 date 2021.01.16.09.27.05; author adam; state Exp; branches; next 1.5; commitid ObkTyeDnB1nOSVDC; 1.5 date 2020.06.19.11.55.27; author adam; state Exp; branches; next 1.4; commitid CBoHMfZdky8buPcC; 1.4 date 2018.10.07.07.13.14; author adam; state Exp; branches; next 1.3; commitid foCGOvDmrwPYSZUA; 1.3 date 2018.02.26.17.16.52; author adam; state Exp; branches; next 1.2; commitid Wr8H5nTuZRsloosA; 1.2 date 2016.06.08.17.43.49; author wiz; state Exp; branches; next 1.1; commitid z4yEulWexjFaJG9z; 1.1 date 2016.04.20.20.01.14; author adam; state Exp; branches; next ; commitid M51GNizjSzQ34p3z; desc @@ 1.9 log @py-django-polymorphic: updated to 3.1.0 3.1.0 Added support for Django 4.0. Fixed crash when the admin "add type" view has no choices; will show a permission denied. Fixed missing locale folder in sdist. Fixed missing QuerySet.bulk_create(.., ignore_conflicts=True) parameter support. Fixed FilteredRelation support. Fixed supporting class keyword arguments in model definitions for __init_subclass__(). Fixed including polymorphic.tests.migrations in the sdist. Fixed non-polymorphic parent handling, which has no _base_objects. Fixed missing widgets support for modelform_factory(). Fixed has_changed handling for polymorphic_ctype_id due to implicit str to int conversions. Fixed Q object handling when lists are used (e.g. in django-advanced-filters). Fixed Django Admin support when using a script-prefix. @ text @# $NetBSD: Makefile,v 1.8 2023/07/13 10:03:28 wiz Exp $ DISTNAME= django-polymorphic-3.1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=d/django_polymorphic/} MAINTAINER= adam@@NetBSD.org HOMEPAGE= https://github.com/chrisglass/django_polymorphic COMMENT= Simplifies using inherited models in Django projects LICENSE= modified-bsd DEPENDS+= ${PYPKGPREFIX}-django>=3:../../www/py-django3 USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.8 log @*: switch django users to py-django3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2022/01/04 20:55:20 wiz Exp $ d3 1 a3 1 DISTNAME= django-polymorphic-3.0.0 a4 1 PKGREVISION= 2 @ 1.7 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2021/01/16 09:27:05 adam Exp $ d5 1 a5 1 PKGREVISION= 1 d14 1 a14 1 DEPENDS+= ${PYPKGPREFIX}-django>=2.1:../../www/py-django2 @ 1.6 log @py-django-polymorphic: updated to 3.0.0 Changes in 3.0.0 Support for Django 3.X Dropped support for python 2.X A lot of various fixes and improvements by various authors. Thanks a lot! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2020/06/19 11:55:27 adam Exp $ d5 1 @ 1.5 log @py-django-polymorphic: updated to 2.1.2 2.1.2: Fix admin 2.1.1: Fix import 2.1: Django 2.2 support @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2018/10/07 07:13:14 adam Exp $ d3 1 a3 1 DISTNAME= django-polymorphic-2.1.2 d13 1 a13 1 DEPENDS+= ${PYPKGPREFIX}-django>=1.11:../../www/py-django d17 2 @ 1.4 log @py-django-polymorphic: updated to 2.0.3 Changes in 2.0.3: * Fixed admin crash for Django 2.1 with missing use_required_attribute. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2018/02/26 17:16:52 adam Exp $ d3 1 a3 1 DISTNAME= django-polymorphic-2.0.3 @ 1.3 log @py-django-polymorphic: updated to 2.0.2 Changes in 2.0.2: Fixed manager inheritance behavior for Django 1.11, by automatically enabling Meta.manager_inheritance_from_future if it's not defined. This restores the manager inheritance behavior that django-polymorphic 1.3 provided for Django 1.x projects. Fixed internal base_objects usage. Changes in 2.0.1: Fixed manager inheritance detection for Django 1.11. It's recommended to use Meta.manager_inheritance_from_future so Django 1.x code also inherit the PolymorphicManager in all subclasses. Django 2.0 already does this by default. Deprecated the base_objects manager. Use objects.non_polymorphic() instead. Optimized detection for dumpdata behavior, avoiding the performance hit of __getattribute__(). Fixed test management commands Changes in 2.0: BACKWARDS INCOMPATIBILITY: Dropped Django 1.8 and 1.10 support. BACKWARDS INCOMPATIBILITY: Removed old deprecated code from 1.0, thus: Import managers from polymorphic.managers (plural), not polymorphic.manager. Register child models to the admin as well using @@admin.register() or admin.site.register(), as this is no longer done automatically. Added Django 2.0 support. Added PolymorphicTypeUndefined exception for incomplete imported models. When a data migration or import creates an polymorphic model, the polymorphic_ctype_id field should be filled in manually too. The polymorphic.utils.reset_polymorphic_ctype function can be used for that. Added PolymorphicTypeInvalid exception when database was incorrectly imported. Added polymorphic.utils.get_base_polymorphic_model() to find the base model for types. Using base_model on the polymorphic admins is no longer required, as this can be autodetected. Fixed manager errors for swappable models. Fixed deleteText of |as_script_options template filter. Fixed .filter(applabel__ModelName___field=...) lookups. Improved polymorphic.utils.reset_polymorphic_ctype() to accept models in random ordering. Fix fieldsets handling in the admin (declared_fieldsets is removed since Django 1.9) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2016/06/08 17:43:49 wiz Exp $ d3 1 a3 1 DISTNAME= django-polymorphic-2.0.2 @ 1.2 log @Switch to MASTER_SITES_PYPI. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2016/04/20 20:01:14 adam Exp $ d3 2 a4 2 DISTNAME= django_polymorphic-0.9.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} d9 1 a9 1 HOMEPAGE= https://github.com/chrisglass/django_polymorphic/ d13 1 a13 1 DEPENDS+= ${PYPKGPREFIX}-django-[0-9]*:../../www/py-django d15 1 a15 1 USE_LANGUAGES= # none @ 1.1 log @Django-polymorphic simplifies using inherited models in Django projects. When a query is made at the base model, the inherited model classes are returned. @ text @d1 1 a1 1 # $NetBSD$ d6 1 a6 1 MASTER_SITES= http://pypi.python.org/packages/source/d/django_polymorphic/ @