Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabienheureux/wagtail_debug_button
https://github.com/fabienheureux/wagtail_debug_button
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fabienheureux/wagtail_debug_button
- Owner: fabienheureux
- Created: 2022-07-08T11:32:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-08T11:46:14.000Z (over 2 years ago)
- Last Synced: 2024-11-06T09:20:49.652Z (about 2 months ago)
- Language: Python
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wagtail - Debug sync page
This repo holds a reproducible example of a bug noticed while developping a wagtail website.
## Setup
### With poetry
```bash
poetry install
```
```bash
poetry shell
```### Without poetry
```bash
pip install -r requirements.txt
```## Run example
```bash
python manage.py runserver
```1. [Go to the homepage](http://localhost:8000/admin/pages/3/edit/)
2. Login with admin / admin
3. Edit the title as "Initial title"
4. Save the page (as a draft)After the page has been reloaded
1. Click the dropdown (in the same place as the publish button)
2. Hit the "Synchronise" button
3. The title should still be "Initial title"Then
1. Publish the page
2. Restart the synchronisation by clicking the "Synchronise" button
3. The title should now be "Another title"