Closed CharmNight closed 5 years ago
Just confirming that yes, as @rlabrecque pointed out, this is an error the documentation. If you instead use queryset
instead of querylist
inside each dict object, it should work as intended. The documentation has been updated to correct this error, and sorry for the confusion.
https://django-rest-multiple-models.readthedocs.io/en/latest/flat-options.html
When I follow the above, I get an error ['All items in the MyDemoAPI querylist attribute should contain a
queryset
key']