Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Martijn Jacobs committed Dec 19, 2017
1 parent 0334e98 commit cb146b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/usage/customizing_oscarapi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ So, to modify some of the functionality in oscarapi, do the following:
If you think that this is not changing anything (yet) then this is correct, see below.

4. Include your own app in INSTALLED_APPS instead of ``django-oscar-api`` (and add ``django-oscar-api`` to your app's dependencies) and see if this works.
5. Add a serializer and a view for the parts you want to change. In this example, we will override the ``ProductList`` view so we can specify a different ``ProductLinkSerializer`` which includes images as well:
5. Add a serializer and a view for the parts you want to change. In this example, we will override the ``ProductList`` view so we can specify a different ``ProductLinkSerializer`` which includes images and the price as well:

`serializers.py`

Expand Down

0 comments on commit cb146b5

Please sign in to comment.