Переглянути джерело

Add publish instructions for child pages in tutorial #7430

Added extra instruction to publish a blog post rather than save as a draft for the overriding section.
DeviousLab 3 роки тому
батько
коміт
2d741386c4
2 змінених файлів з 5 додано та 1 видалено
  1. 1 0
      CONTRIBUTORS.rst
  2. 4 1
      docs/getting_started/tutorial.md

+ 1 - 0
CONTRIBUTORS.rst

@@ -525,6 +525,7 @@ Contributors
 * Kevin Gutiérrez
 * Brandon Murch
 * Sean Kelly
+* Himesh Samarasekera
 
 Translators
 ===========

+ 4 - 1
docs/getting_started/tutorial.md

@@ -159,7 +159,8 @@ Run `python manage.py makemigrations` (this will create the migrations file), th
 changes). You must run the above commands each time you make changes to
 the model definition.
 
-You can now edit the homepage within the Wagtail admin area (go to Pages, Homepage, then Edit) to see the new body field. Enter some text into the body field, and publish the page.
+You can now edit the homepage within the Wagtail admin area (go to Pages, Homepage, then Edit) to see the new body field. Enter some text into the body field, and publish
+the page by selecting *Publish* at the bottom of the page editor, rather than *Save Draft*.
 
 The page template now needs to be updated to reflect the changes made
 to the model. Wagtail uses normal Django templates to render each page
@@ -349,6 +350,8 @@ other page type.
 
 ![](../_static/images/tutorial/tutorial_5.png)
 
+Publish each blog post when you are done editing.
+
 You should now have the very beginnings of a working blog.
 Access the `/blog` URL and you should see something like this: