mirror of https://github.com/zulip/zulip.git
docs: Make a few surface fixes.
This commit is contained in:
parent
7f06baf360
commit
aa78d9bf26
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue