Get Wagtail version
See original GitHub issueCurrently the way is with
from wagtail.wagtailcore import __version__ as WAGTAIL_VERSION
But maybe a function like Django has is a more elegant way, as it doesn’t depend on the version number existing in any particular file. I’m afraid someone could move that, and it isn’t a documented feature.
Or am I over thinking it? I know the version is shown on hover for the logo in the admin screen, but I haven’t checked to see how it’s pulled out. Maybe documenting it and agreeing it should remain there would work, also.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Upgrading Wagtail
Wagtail release Compatible Django versions Compatible Python versions
4.1 LTS 3.2, 4.0, 4.1 3.7, 3.8, 3.9, 3.10, 3.11
4.0 3.2, 4.0, 4.1 3.7, 3.8, 3.9,...
Read more >Your first Wagtail site
Wagtail supports Python 3.5, 3.6, 3.7 and 3.8. To check whether you have an appropriate version of Python 3: $ python3 --version. If...
Read more >wagtail - PyPI
wagtail 4.1.1. pip install wagtail. Copy PIP instructions. Latest version. Released: Nov 11, 2022.
Read more >How do I update Wagtail to the latest release? - Stack Overflow
You can install version 1.10.1 on a typical Linux/Unix/Mac OS ... you can always upgrade to the latest with pip install --upgrade wagtail...
Read more >Wagtail - endoflife.date
Release Released Active Support
4.1 ( LTS ) 1 month and 2 weeks ago. (01 Nov 2022) Ends in 1 year and 1 month....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@vladox It’s shown when hovering over the Wagtail logo.
Ah!. There it is right at the bottom! Too many windows open on my screens. Thank you!