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

BBCode not rendered in base model #26

Open
makaleks opened this issue Sep 28, 2018 · 0 comments
Open

BBCode not rendered in base model #26

makaleks opened this issue Sep 28, 2018 · 0 comments

Comments

@makaleks
Copy link

makaleks commented Sep 28, 2018

When base model (not abstract) contains BBCodeTextField and the child model is saved, the _rendered field is not saved in the database. In general, even the pre_save signal is not raised for base model, when child is saved. Nevertheless when base model pre_save and post_save signals are raised by child model pre_save and post_save receivers, the situation is not changed. The SQL prompt shows that raw and rendered are different, while print(), placed at the end of process_bbcodes(), shows the rendered content normally at pre_save - but doesn`t save.

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

No branches or pull requests

1 participant