mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 00:23:49 +00:00
docs: Make a few surface fixes.
This commit is contained in:
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user