Open svandeneertwegh opened 3 months ago
Added: option_group = AttributeOptionGroupSerializer()
option_group = AttributeOptionGroupSerializer()
to:
class OptionSerializer(OscarHyperlinkedModelSerializer):
in file: oscarapi/serializers/product.py
This fixes the problem mentioned at #324 !
@specialunderwear when this is not applied i get errors on admin endpoints when i set: OSCARAPI_BLOCK_ADMIN_API_ACCESS = False
OSCARAPI_BLOCK_ADMIN_API_ACCESS = False
Added:
option_group = AttributeOptionGroupSerializer()
to:
class OptionSerializer(OscarHyperlinkedModelSerializer):
in file: oscarapi/serializers/product.py