dabapps / django-rest-framework-serialization-spec

DEPRECATED, see https://github.com/dabapps/django-readers instead
MIT License
11 stars 0 forks source link

Handle lists of reverse FKs #13

Closed pmg103 closed 5 years ago

pmg103 commented 5 years ago

Address https://github.com/dabapps/django-rest-framework-serialization-spec/issues/8.

Now

    serialization_spec = [
        'classes',
    ]

results in a response of

{
    "classes": [
        "00001",
        "00002",
     ]
}