Docs - Fix typo for migration command in the section under Tag posts

Fixes #10974
pull/10956/head
Sandra Ashipala 2023-09-30 15:16:23 +02:00 zatwierdzone przez LB (Ben Johnston)
rodzic a1bd357092
commit 8b52670d10
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -734,6 +734,7 @@
* Subhajit Ghosh
* Neeraj Yetheendran
* TopDevPros
* Sandra Ashipala
## Translators

Wyświetl plik

@ -924,7 +924,7 @@ Wagtail ecosystem, so that you can give it a title and URL in the
admin, and so that you can manipulate its contents by returning
a QuerySet from its `get_context()` method.
Migrate this by running `python manage.py makemigrations` and then `python manage.py`. After migrating the new changes, create a new `BlogTagIndexPage` in the admin interface. To create the `BlogTagIndexPage`, follow the same process you followed in creating the `BlogIndexPage` and give it the slug "tags" on the Promote tab. This means the `BlogTagIndexPage` is a child of the home page and parallel to `Our Blog` in the admin interface.
Migrate this by running `python manage.py makemigrations` and then `python manage.py migrate`. After migrating the new changes, create a new `BlogTagIndexPage` in the admin interface. To create the `BlogTagIndexPage`, follow the same process you followed in creating the `BlogIndexPage` and give it the slug "tags" on the Promote tab. This means the `BlogTagIndexPage` is a child of the home page and parallel to `Our Blog` in the admin interface.
Access `/tags` and Django will tell you what you probably already knew.
You need to create the template, `blog/templates/blog/blog_tag_index_page.html` and add the following content to it: