diff --git a/website/content/08_web_frameworks/20_databases.md b/website/content/08_web_frameworks/20_databases.md index 86034ee..a1af103 100644 --- a/website/content/08_web_frameworks/20_databases.md +++ b/website/content/08_web_frameworks/20_databases.md @@ -37,7 +37,7 @@ You can think of migrations as a map between user-defined models in code and dat In order for our custom model to be registered by Django, we'll need to do two things: 1. Register the app in our project, so that Django knows where to look for models -1. Run a command to make new migrations before running them, so that Django can create database scripts for our custom models. +2. Run a command to make new migrations before running them, so that Django can create database scripts for our custom models. First, let's register our app. @@ -153,4 +153,4 @@ Notice that this returns a `QuerySet`, which looks a lot like a list. In fact, w ### Advantages -The Django ORM features a lot of optimizations under the hood, and you don't need to know a lot about the internal workings of databases to start using them for your application. \ No newline at end of file +The Django ORM features a lot of optimizations under the hood, and you don't need to know a lot about the internal workings of databases to start using them for your application.