question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Get Wagtail version

See original GitHub issue

Currently 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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
gasmancommented, Mar 19, 2019

@vladox It’s shown when hovering over the Wagtail logo.

0reactions
pmnevecommented, Jan 7, 2021

Ah!. There it is right at the bottom! Too many windows open on my screens. Thank you!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found