documentation: Revise uses of "e.g.," followed by a colon.

This commit is contained in:
Lauryn Menard
2024-07-09 17:57:53 +02:00
committed by Tim Abbott
parent 32b2eb5f47
commit 04e2728cb0
11 changed files with 21 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ Zulip uses the [Django settings
system](https://docs.djangoproject.com/en/5.0/topics/settings/), which
means that the settings files are Python programs that set a lot of
variables with all-capital names like `EMAIL_GATEWAY_PATTERN`. You can
access these anywhere in the Zulip Django code using e.g.,:
access these anywhere in the Zulip Django code using, for example:
```python
from django.conf import settings
@@ -37,7 +37,8 @@ print(settings.EMAIL_GATEWAY_PATTERN)
```
Additionally, if you need to access a Django setting in a shell
script (or just on the command line for debugging), you can use e.g.,:
script (or just on the command line for debugging), you can use, for
example:
```console
$ ./scripts/get-django-setting EMAIL_GATEWAY_PATTERN