Update tutorial.md (#11622)

Removes mention of an error that don't occur, the template was created.
pull/11582/head
andredelorme 2024-02-08 05:59:45 -03:00 zatwierdzone przez Matt Westcott
rodzic c384975147
commit bf6bfa5af4
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -796,6 +796,7 @@
* Advik Kabra
* Ankur Raiyani
* Hossein
* Andre Delorme
## Translators

Wyświetl plik

@ -346,7 +346,7 @@ Now that this is complete, here is how you can create a page from the Wagtail [a
4. Choose **Blog index page** from the list of the page types.
5. Use "Our Blog" as your page title, make sure it has the slug "blog" on the Promote tab, and publish it.
You can now access the URL, <http://127.0.0.1:8000/blog> on your site. This gives you an error page showing "TemplateDoesNotExist" because you are yet to create a template for the new page. Also, note how the slug from the Promote tab defines the page URL.
You can now access the URL, <http://127.0.0.1:8000/blog> on your site. Note how the slug from the Promote tab defines the page URL.
Now create a model and template for your blog posts. Edit `blog/models.py` to include: