Skip to content

Commit f9ccbad

Browse files
authored
minor update on tutorial serialization (#8323)
1 parent 5b2abbe commit f9ccbad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/tutorial/1-serialization.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ We'll need to add our new `snippets` app and the `rest_framework` app to `INSTAL
4545
INSTALLED_APPS = [
4646
...
4747
'rest_framework',
48-
'snippets.apps.SnippetsConfig',
48+
'snippets',
4949
]
5050

5151
Okay, we're ready to roll.
@@ -77,7 +77,7 @@ For the purposes of this tutorial we're going to start by creating a simple `Sni
7777
We'll also need to create an initial migration for our snippet model, and sync the database for the first time.
7878

7979
python manage.py makemigrations snippets
80-
python manage.py migrate
80+
python manage.py migrate snippets
8181

8282
## Creating a Serializer class
8383

@@ -307,8 +307,8 @@ Quit out of the shell...
307307
Validating models...
308308

309309
0 errors found
310-
Django version 1.11, using settings 'tutorial.settings'
311-
Development server is running at http://127.0.0.1:8000/
310+
Django version 4.0,1 using settings 'tutorial.settings'
311+
Starting Development server at http://127.0.0.1:8000/
312312
Quit the server with CONTROL-C.
313313

314314
In another terminal window, we can test the server.

0 commit comments

Comments
 (0)