Skip to content
Discussion options

You must be logged in to vote

"Python API" means that this concerns code written within the Python framework (e.g. custom scripts and reports as well as plugins) and not the restful API (where custom fields can be accessed via e. g. interface["custom_fields"]), is that correct?

Correct. Here's an example:

>>> site = Site.objects.first()
>>> site.cf['date1']
datetime.date(2022, 12, 13)

And all Python API code (e.g. Reports) that use custom_field_data is not affected?

Correct. No changes have been made to the serialized data stored in the database.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@ziggekatten
Comment options

@jeremystretch
Comment options

@ziggekatten
Comment options

Answer selected by cs-1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants