emencia / django-blog-lotus

A weblog application with Django.
https://django-blog-lotus.readthedocs.io/
MIT License
5 stars 1 forks source link

API does not includes object translations #70

Open sveetch opened 7 months ago

sveetch commented 7 months ago

Is your feature request related to a problem? Please describe. Currently the detail viewsets for Article and Category include original object (if any) but does not indicate available translations for original object.

Describe the solution you'd like A new serializer field available_translations should be added to Article and Category serializers. It should be filled with possible translation objects like it is already done in the HTML frontend.