From 54658509ec4d9c01a60bc56c941a0fd2cd64586f Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Thu, 4 Mar 2021 23:52:59 -0500 Subject: [PATCH] Update django.md --- django.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/django.md b/django.md index 6b072f3..af865da 100644 --- a/django.md +++ b/django.md @@ -104,6 +104,8 @@ class Contact(models.Model): age = models.IntegerField() ``` +You'll notice that `models.CharField` takes params like so: `max_length=32`. This is just a way to specify parameters to a function by name, as opposed to order + Now let's set up a migration that will access our new `Contact` model and generate the necessary table in Postgres. In the terminal, run: ```