Edit requests of Django REST Frameworkで再帰的なリレーションを持つモデルを返すAPIを作成したい

@Eitaro

2021-12-13

Not reviewed

(修正前)subcategories = serializers.SubCategorySerializer() (修正後)subcategories = SubCategorySerializer()

@Eitaro

2021-12-13

Not reviewed

CategorySeriarizer⇒CategorySerializer

Please check the preview of this article

We released Markdown parser changes on February 24, 2022. There may be some unexpected appearance changes in this update, because this article was posted before the changes.
Please don't forget to check the preview before updating your article.
For more information on the changes, please read this article.