Answer the question
In order to leave comments, you need to log in
Data access layer for multilingual DB?
Suppose there is a database with a similar structure:
The application that will work with the database is an API. API users can request posts like this: /posts/1/?language=en. As a result, the user should get a model like this:
{
"id": 1,
"category": {
"id": 5,
"name": "ru_category"
},
"title": "ru_title",
"text": "ru_text",
"created_at": "date"
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question