From aa78d9bf2618b3fd8184096c9ce362d6190a6144 Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Mon, 1 May 2023 15:51:57 -0500 Subject: [PATCH] docs: Make a few surface fixes. --- docs/tutorials/new-feature-tutorial.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/tutorials/new-feature-tutorial.md b/docs/tutorials/new-feature-tutorial.md index 919b6362b0..2d310e0b40 100644 --- a/docs/tutorials/new-feature-tutorial.md +++ b/docs/tutorials/new-feature-tutorial.md @@ -246,9 +246,7 @@ is helpful. ### Test your migration changes -Apply the migration using Django's `migrate` command: `./manage.py migrate`. - -Output: +Apply the migration using Django's `migrate` command, `./manage.py migrate`: ```console 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: ```python -# zerver/actions/realm_settings.p +# zerver/actions/realm_settings.py def do_set_realm_authentication_methods( realm: Realm, authentication_methods: Dict[str, bool], *, acting_user: Optional[UserProfile]