kopia lustrzana https://github.com/wagtail/wagtail
rodzic
6857f6431a
commit
cbf06df4eb
|
@ -33,7 +33,7 @@ if use_version_strings:
|
|||
# INSTALLED_APPS is used as a unique value to distinguish Wagtail apps
|
||||
# and avoid exposing the Wagtail version directly
|
||||
VERSION_HASH = hashlib.sha1(
|
||||
"".join([__version__] + settings.INSTALLED_APPS).encode(),
|
||||
"".join([__version__] + list(settings.INSTALLED_APPS)).encode(),
|
||||
).hexdigest()[:8]
|
||||
else:
|
||||
VERSION_HASH = None
|
||||
|
|
Ładowanie…
Reference in New Issue