You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -594,9 +594,10 @@ urlpatterns = [
594
594
]
595
595
```
596
596
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
598
598
599
599
```python
600
+
from music.models import Artist, Album, Song
600
601
from music.serializers import ArtistSerializer, AlbumSerializer, SongSerializer
0 commit comments