File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ We'll need to add our new `snippets` app and the `rest_framework` app to `INSTAL
45
45
INSTALLED_APPS = [
46
46
...
47
47
'rest_framework',
48
- 'snippets.apps.SnippetsConfig ',
48
+ 'snippets',
49
49
]
50
50
51
51
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
77
77
We'll also need to create an initial migration for our snippet model, and sync the database for the first time.
78
78
79
79
python manage.py makemigrations snippets
80
- python manage.py migrate
80
+ python manage.py migrate snippets
81
81
82
82
## Creating a Serializer class
83
83
@@ -307,8 +307,8 @@ Quit out of the shell...
307
307
Validating models...
308
308
309
309
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/
312
312
Quit the server with CONTROL-C.
313
313
314
314
In another terminal window, we can test the server.
You can’t perform that action at this time.
0 commit comments