R
R
Ruslan Ezhgurov2018-11-18 23:22:59
Django
Ruslan Ezhgurov, 2018-11-18 23:22:59

How to recursively serialize tree to ManyToManyField?

The tree elements are identical and contain only CharField and MantToManyField fields on themselves. I'm using the latest version of Django rest api, I've already tried everything, then I hit the maximum recursion limit, or it serializes one level. Help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ivlev, 2018-11-20
@ivlevdenis_ru

use mptt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question