Skip to content

Commit 22ed37d

Browse files
committed
Add missing import instruction
1 parent deaaad7 commit 22ed37d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,9 +594,10 @@ urlpatterns = [
594594
]
595595
```
596596

597-
After this we are going to create the `SongViewSet` in our `music.views` file using a `ModelViewSet` like in the snippet below. Also update Don't forget to add the import for the `SongSerializer` in your imports
597+
After this we are going to create the `SongViewSet` in our `music.views` file using a `ModelViewSet` like in the snippet below. Also update Don't forget to add the import for `Song` and `SongSerializer` in your imports
598598

599599
```python
600+
from music.models import Artist, Album, Song
600601
from music.serializers import ArtistSerializer, AlbumSerializer, SongSerializer
601602

602603
class SongViewSet(viewsets.ModelViewSet):

0 commit comments

Comments
 (0)