Skip to content

Commit

Permalink
Move version definition back to __init__
Browse files Browse the repository at this point in the history
The previous change was needed because of the Django version check see 39c7da7
  • Loading branch information
zerolab committed Sep 23, 2022
1 parent b39a2dd commit 21d5d1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 7 additions & 1 deletion wagtail_localize/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
from .version import VERSION, __version__ # noqa
from .version import get_version


# release must be one of alpha, beta, rc, or final
VERSION = (1, 3, 0, "alpha", 3)

__version__ = get_version(VERSION)
6 changes: 0 additions & 6 deletions wagtail_localize/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,3 @@ def get_complete_version(version=None):
assert version[3] in ("dev", "alpha", "beta", "rc", "final")

return version


# release must be one of alpha, beta, rc, or final
VERSION = (1, 3, 0, "alpha", 3)

__version__ = get_version(VERSION)

0 comments on commit 21d5d1c

Please sign in to comment.