Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/content/08_web_frameworks/20_databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.
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.