https://github.com/engineervix/blog-post--wagtailadmin-field-visibility-toggle
This is a trivial Wagtail project created as part of a blog post
https://github.com/engineervix/blog-post--wagtailadmin-field-visibility-toggle
Last synced: 22 days ago
JSON representation
This is a trivial Wagtail project created as part of a blog post
- Host: GitHub
- URL: https://github.com/engineervix/blog-post--wagtailadmin-field-visibility-toggle
- Owner: engineervix
- License: bsd-3-clause
- Created: 2024-03-06T01:04:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-24T15:50:17.000Z (27 days ago)
- Last Synced: 2026-02-24T20:32:31.638Z (27 days ago)
- Language: Python
- Homepage: https://blog.victor.co.zm/conditional-display-of-fields-in-wagtail-admin
- Size: 87.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Conditional Display of Fields in Wagtail Admin
> An example Wagtail application to illustrate the concept. See blog post [here](https://blog.victor.co.zm/conditional-display-of-fields-in-wagtail-admin)
[](https://github.com/engineervix/blog-post--wagtailadmin-field-visibility-toggle/actions/workflows/main.yml)
[](https://www.python.org/downloads/)
[](https://github.com/psf/black)
[](http://commitizen.github.io/cz-cli/)
[](http://conventional-changelog.github.io)
[](https://conventionalcommits.org)
## Development
### First things first
I recommend you test this with Python ~~3.12~~ 3.13, because that's what I used for this particular project. However, it _should_ hopefully work with lower Python versions such us 3.12, 3.11 and 3.10.
You can use [pyenv](https://github.com/pyenv/pyenv) to install multiple python versions on your machine. Once you have your Python installed, create a [**virtual environment**](https://realpython.com/python-virtual-environments-a-primer/) and install dependencies via `pip install -r requirements.txt`.
### Getting Started
- Apply database migrations via `./manage.py migrate`
- Create a `superuser` via `./manage.py createsuperuser`
- Run the development server via `./manage.py runserver`
You can access the development server at . Login to the Admin at
---