Словарь фреймворка Django rest заполнен символами эвакуации
Я обновил столбец в базе данных postgres и в базе данных он выглядит следующим образом
[{"author_name": "palmina petillo", "rating": " ", "text": "We really loved it! Food is sophisticated but not pretentious. Service is excellent and price is adequate for Michelin standards and quality of the ingredients. French influence + local produce. 100% recommended!!"}, {"author_name": "Ann dunphy", "rating": " ", "text": "Excellent staff\nFood beautiful"}, {"author_name": "Kieran Aherne", "rating": " ", "text": "Second time eating here and I have to say the food just keeps getting better. Couldn t fault the food or the service. Top quality restaurant and will definitely be back for a 3rd time, eventually \u263a\ufe0f"}, {"author_name": "Deirdre Watson", "rating": " ", "text": "Our party had a delicious and lovely dining experience at Campagne on Thursday evening.. the welcome, food and accompanying wines as recommended with our food by the professional staff are second to none.. I would highly like everyone to try and enjoy this experience just once"}, {"author_name": "Mary Irwin", "rating": " ", "text": "Delighted to enjoy a meal in Campagne again - if anything it was better than we remembered. Excellent staff, delicious food and great buzz. Looking forward to our next visit already!"}]
Но затем, когда я смотрю на Django rest api, он полон управляющих символов
"rest_reviews": "[{\"author_name\": \"palmina petillo\", \"rating\": \" \", \"text\": \"We really loved it! Food is sophisticated but not pretentious. Service is excellent and price is adequate for Michelin standards and quality of the ingredients. French influence + local produce. 100% recommended!!\"}, {\"author_name\": \"Ann dunphy\", \"rating\": \" \", \"text\": \"Excellent staff\\nFood beautiful\"}, {\"author_name\": \"Kieran Aherne\", \"rating\": \" \", \"text\": \"Second time eating here and I have to say the food just keeps getting better. Couldn t fault the food or the service. Top quality restaurant and will definitely be back for a 3rd time, eventually \\u263a\\ufe0f\"}, {\"author_name\": \"Deirdre Watson\", \"rating\": \" \", \"text\": \"Our party had a delicious and lovely dining experience at Campagne on Thursday evening.. the welcome, food and accompanying wines as recommended with our food by the professional staff are second to none.. I would highly like everyone to try and enjoy this experience just once\"}, {\"author_name\": \"Mary Irwin\", \"rating\": \" \", \"text\": \"Delighted to enjoy a meal in Campagne again - if anything it was better than we remembered. Excellent staff, delicious food and great buzz. Looking forward to our next visit already!\"}]",
При вводе в БД диктант является правильным json, но где в Django он решает использовать все эти управляющие символы. Похоже, что он поместил все в строку.
Модель в Django представляет собой текстовое поле, чтобы учесть размер.
rest_reviews = models.TextField(null=True)