docs: Make a few surface fixes.

This commit is contained in:
Karl Stolley 2023-05-01 15:51:57 -05:00 committed by Tim Abbott
parent 7f06baf360
commit aa78d9bf26
1 changed files with 2 additions and 4 deletions

View File

@ -246,9 +246,7 @@ is helpful.
### Test your migration changes ### Test your migration changes
Apply the migration using Django's `migrate` command: `./manage.py migrate`. Apply the migration using Django's `migrate` command, `./manage.py migrate`:
Output:
```console ```console
shell $ ./manage.py migrate shell $ ./manage.py migrate
@ -340,7 +338,7 @@ field), you'll need to create a new function to explicitly update this
field and send an event. For example: field and send an event. For example:
```python ```python
# zerver/actions/realm_settings.p # zerver/actions/realm_settings.py
def do_set_realm_authentication_methods( def do_set_realm_authentication_methods(
realm: Realm, authentication_methods: Dict[str, bool], *, acting_user: Optional[UserProfile] realm: Realm, authentication_methods: Dict[str, bool], *, acting_user: Optional[UserProfile]