Adds notice to admin about available updates

This commit is contained in:
Mouse Reeve
2022-02-17 16:23:15 -08:00
parent 54b0bf02b5
commit 9132c054f2
3 changed files with 33 additions and 2 deletions

View File

@ -11,6 +11,11 @@ env.read_env()
DOMAIN = env("DOMAIN")
VERSION = "0.3.0"
RELEASE_API = env(
"RELEASE_API",
"https://api.github.com/repos/bookwyrm-social/bookwyrm/releases/latest"
)
PAGE_LENGTH = env("PAGE_LENGTH", 15)
DEFAULT_LANGUAGE = env("DEFAULT_LANGUAGE", "English")