mirror of https://github.com/zulip/zulip.git
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:
parent
426c806a87
commit
c4823bfd03
|
@ -192,9 +192,9 @@ boolean field, `mandatory_topics`, to the Realm model in
|
||||||
|
|
||||||
class Realm(models.Model):
|
class Realm(models.Model):
|
||||||
# ...
|
# ...
|
||||||
emails_restricted_to_domains: bool = models.BooleanField(default=True)
|
emails_restricted_to_domains = models.BooleanField(default=True)
|
||||||
invite_required: bool = models.BooleanField(default=False)
|
invite_required = models.BooleanField(default=False)
|
||||||
+ mandatory_topics: bool = models.BooleanField(default=False)
|
+ mandatory_topics = models.BooleanField(default=False)
|
||||||
```
|
```
|
||||||
|
|
||||||
The Realm model also contains an attribute, `property_types`, which
|
The Realm model also contains an attribute, `property_types`, which
|
||||||
|
|
Loading…
Reference in New Issue