Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ATV-172 Fix content formatting when saving to db #84

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

AntiAki-M
Copy link
Contributor

@AntiAki-M AntiAki-M commented Feb 5, 2024

Override get_db_prep_save to create a json formatted string instead of psycopg2 Json object

Description ✨

Content has to be saved in exactly the same way as before Django update to maintain data integrity

Issues 🐛

Closes 🙅‍♀️

ATV-172: Fix content format when saving to DB

Related 🤝

Testing ⚗️

Automated tests ⚙️️

No

Manual testing 👷‍♂️

Yes

Screenshots 📸

Additional notes 🗒️

Override get_db_prep_save to create a json formatted string instead of psycopg2 Json object
@AntiAki-M AntiAki-M merged commit 53a56e1 into main Feb 5, 2024
4 checks passed
@AntiAki-M AntiAki-M deleted the fix-content-format-django-update branch February 5, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant