Browse Source
- Introduced `SimilarArticleSerializer` to provide a structured representation of similar articles, including categories and thumbnail. - Updated `ArticleDetailSerializer` to include a new `similar_articles` field, which fetches articles from the same categories, excluding the current article. - Implemented a method to retrieve similar articles, improving the article detail view with relevant content suggestions.master
1 changed files with 27 additions and 1 deletions
Loading…
Reference in new issue