mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-06 05:20:12 +03:00
a comment
This commit is contained in:
parent
9969dc0e68
commit
c6d44789e2
|
@ -1287,7 +1287,7 @@ class RecursiveField(Field):
|
||||||
children = ListField(child=RecursiveField())
|
children = ListField(child=RecursiveField())
|
||||||
|
|
||||||
class ListSerializer(self):
|
class ListSerializer(self):
|
||||||
next = RecursiveField()
|
next = RecursiveField(allow_null=True)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user