-
Arkadiusz Hiler authored
Newer versions of DRF no longer use get_related_field(), so the code became dead and the breakage went unnoticed. Let's fix that by simply overwriting the fields with appropriate serializers when expanding is requested. Also add a test that checks whether things actually get expanded. Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
b72d45c9