Settings
The following settings will help you customize the drf-blog-bridger package to suit your custom needs.
BLOG_BRIDGER_POST
You can use this setting to define a custom model for blog posts in your project. The default model has the following fields:
post_titlepost_bodyauthorcreated_at
To define your custom model, add this to your settings:
BLOG_BRIDGER_COMMENT
This setting helps you define a custom model to handle comments under blog posts. The default model has the following fields:
comment(1)comment_authorpostcreated_at
- The user's comment text.
To define your custom model, add this to your settings: