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.
pull/7438/head
DeviousLab 2021-08-12 14:25:06 +04:00 zatwierdzone przez jacobtoppm
rodzic 421857664a
commit 2d741386c4
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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: