From c4823bfd03defc5b47f14cb088b3b61b0071bc40 Mon Sep 17 00:00:00 2001 From: Eric Smith <99841919+erwsmith@users.noreply.github.com> Date: Fri, 4 Nov 2022 16:31:42 -0600 Subject: [PATCH] docs: Remove unnecessary type annotations from tutorial. In 4c3c97617461d01f57a965bc6ea39f5d7fd9fa02, we removed the need to explicitly declare types for Django model fields. Here, we update that detail in our documentation. --- docs/tutorials/new-feature-tutorial.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/new-feature-tutorial.md b/docs/tutorials/new-feature-tutorial.md index 23af3550ed..d488b8ac79 100644 --- a/docs/tutorials/new-feature-tutorial.md +++ b/docs/tutorials/new-feature-tutorial.md @@ -192,9 +192,9 @@ boolean field, `mandatory_topics`, to the Realm model in class Realm(models.Model): # ... - emails_restricted_to_domains: bool = models.BooleanField(default=True) - invite_required: bool = models.BooleanField(default=False) -+ mandatory_topics: bool = models.BooleanField(default=False) + emails_restricted_to_domains = models.BooleanField(default=True) + invite_required = models.BooleanField(default=False) ++ mandatory_topics = models.BooleanField(default=False) ``` The Realm model also contains an attribute, `property_types`, which