Move snippets.md docs to its own directory

pull/10478/head
Sage Abdullah 2023-04-28 13:53:42 +07:00 zatwierdzone przez Matt Westcott
rodzic 9790cccd9c
commit 939b14b33c
3 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -21,6 +21,7 @@ If you'd like to get a quick feel for Wagtail, try spinning up a `temporary deve
* :doc:`topics/writing_templates`
* :doc:`topics/images`
* :doc:`topics/search/index`
* :doc:`topics/snippets/index`
* :doc:`advanced_topics/third_party_tutorials`

Wyświetl plik

@ -9,7 +9,7 @@ pages
writing_templates
images
search/index
snippets
snippets/index
streamfield
permissions
```

Wyświetl plik

@ -439,7 +439,7 @@ If you use the other mixins, make sure to apply `LockableMixin` after the other
The `LockableMixin` includes additional fields that need to be added to your database table. Make sure to run the `makemigrations` and `migrate` management commands after making the above changes to apply the changes to your database.
Locking and unlocking a snippet instance requires `lock` and `unlock` permissions on the snippet model, respectively. For models with `LockableMixin` applied, Wagtail automatically creates the corresponding `lock` and `unlock` permissions and display them in the 'Groups' area of the Wagtail admin interface. For more details on how to configure the permission, see [](permissions).
Locking and unlocking a snippet instance requires `lock` and `unlock` permissions on the snippet model, respectively. For models with `LockableMixin` applied, Wagtail automatically creates the corresponding `lock` and `unlock` permissions and display them in the 'Groups' area of the Wagtail admin interface. For more details on how to configure the permission, see [](permissions_overview).
(wagtailsnippets_enabling_workflows)=