Project

Profile

Help

Task #3434

closed

Expose "pulpcore.app.fields.JSONField" to plugins

Added by dalley over 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Easy Fix
Sprint:
Sprint 34
Quarter:

Description

https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/app/fields.py#L10

JSONField is a custom field type we created so that we could nicely store JSON across different databases (since Django's JSONField is Postgres-specific). It is backed by models.TextField but with some serialization/deserialization added.

It would be useful to many plugins including the Python plugin, specifically. We should expose it as part of the plugin API.

Also available in: Atom PDF