mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 08:33:43 +00:00
docs: Remove unnecessary type annotations from tutorial.
In 4c3c976174, we removed the need
to explicitly declare types for Django model fields. Here, we update that detail
in our documentation.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user