Bug#1053488: ITP: django-jsonfield -- Reusable JSONField for Django Models
Hi Edward,
On Thu, Oct 05, 2023 at 06:04:41AM +0100, Edward Betts wrote:
> * Package name : django-jsonfield
> Version : 3.1.0
> Upstream Author : Brad Jasper <contact@bradjasper.com>
> * URL : https://github.com/rpkilby/jsonfield
> * License : MIT
> Programming Lang: Python
> Description : Reusable JSONField for Django Models
>
> jsonfield is a reusable model field that allows you to store validated JSON,
> automatically handling serialization to and from the database. It is
> particularly useful when your app needs to be database-agnostic or when the
> built-in JSONField's extended querying is not being leveraged.
Django 3.1, released in August 2020, added models.JSONField in the core
library[1], for all supported database backends.
Note that rpkilby/jsonfield was last updated in February 2020, hence why
it's probably not mentioning anything about it on its page. It's
most likely stale exactly because models.JSONField exists now.
So I believe this library is both unnecessary and abandonware, and thus
I don't think it should be packaged for Debian. Any code using it out
there should be patched to just use Django's JSONFields.
> This library is a dependancy of the django-bulk-update module.
Is this aykut/django-bulk-update[2]? I don't know much about it, but it
looks like that module was last updated in March 2018, and
QuerySet.bulk_update() was added to the core library with Django 2.2,
released in April 2019[3], so it may be a similar situation to JSONField
here.
Regards,
Faidon
1: https://docs.djangoproject.com/en/dev/releases/3.1/#jsonfield-for-all-supported-database-backends
2: https://github.com/aykut/django-bulk-update
3: https://docs.djangoproject.com/en/dev/releases/2.2/
Reply to: