Skip to content

Commit 8de13e7

Browse files
committed
Merge branch 'master' of github.com:tomchristie/django-rest-framework
2 parents e14391e + 098ff83 commit 8de13e7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/tutorial/1-serialization.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ We'll also need to create an initial migration for our snippet model, and sync t
8989

9090
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.
9191

92-
from django.forms import widgets
9392
from rest_framework import serializers
9493
from snippets.models import Snippet, LANGUAGE_CHOICES, STYLE_CHOICES
9594

0 commit comments

Comments
 (0)