Skip to content

Commit

Permalink
bugfix optiongroupserializer missing (#344)
Browse files Browse the repository at this point in the history
* bugfix optiongroupserializer missing

* small change

* small change v2

* fix small stuff
  • Loading branch information
svandeneertwegh authored Nov 25, 2024
1 parent da010c8 commit 8cf7e38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ test:
python sandbox/manage.py test oscarapi --settings=sandbox.settings.block_admin_api_true
python sandbox/manage.py test oscarapi --settings=sandbox.settings.block_admin_api_false

coverage:
coverage run sandbox/manage.py test oscarapi --settings=sandbox.settings.block_admin_api_true
coverage:
coverage run sandbox/manage.py test oscarapi --settings=sandbox.settings.block_admin_api_false
coverage report -m
coverage html
coverage xml -i

docker-build:
Expand Down
1 change: 1 addition & 0 deletions oscarapi/serializers/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ class Meta:


class OptionSerializer(OscarHyperlinkedModelSerializer):
option_group = AttributeOptionGroupSerializer(required=False, allow_null=True)
code = serializers.SlugField()

class Meta:
Expand Down

0 comments on commit 8cf7e38

Please sign in to comment.