Commit cdc7d190 by Sylvain Bellemare

Added missing "to" word

parent 5333a931
...@@ -104,7 +104,7 @@ Don't forget to sync the database for the first time. ...@@ -104,7 +104,7 @@ Don't forget to sync the database for the first time.
## Creating a Serializer class ## Creating a Serializer class
The first thing we need to get started on our Web API is provide a way of serializing and deserializing the snippet instances into representations such as `json`. We can do this by declaring serializers that work very similar to Django's forms. Create a file in the `snippets` directory named `serializers.py` and add the following. The first thing we need to get started on our Web API is to provide a way of serializing and deserializing the snippet instances into representations such as `json`. We can do this by declaring serializers that work very similar to Django's forms. Create a file in the `snippets` directory named `serializers.py` and add the following.
from django.forms import widgets from django.forms import widgets
from rest_framework import serializers from rest_framework import serializers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment