Задать вопрос

Тел: +7 965 3737 888

399

Просмотров

0

Ответов

streaming serializer

<p>Trying ./manage.py dumpdata on a huge database and getting MemoryErrors? Here's part of your solution. 
</p>
<p><a href="http://foothold.ru/knowledge/detail/queryset-foreach.html">Snippet 1400</a> provides a queryset_foreach utility that we've found very useful. This snippet uses it on a serializer that can output to a stream, such as the XML serializer.
</p>
<p>Management command coming momentarily...
</p>

Вопрос полезен? Да0/Нет0
file_2330.py(1.5Кб)
None