Release v3.2-beta1

This commit is contained in:
jeremystretch
2022-02-15 14:56:01 -05:00
parent 85b534a0b0
commit 1aa295dc84
4 changed files with 18 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ from netbox.config import PARAMS
# Environment setup
#
VERSION = '3.2.0-dev'
VERSION = '3.2.0-beta1'
# Hostname
HOSTNAME = platform.node()
@@ -50,16 +50,6 @@ except ModuleNotFoundError as e:
)
raise
# Warn on removed config parameters
if hasattr(configuration, 'CACHE_TIMEOUT'):
warnings.warn(
"The CACHE_TIMEOUT configuration parameter was removed in v3.0.0 and no longer has any effect."
)
if hasattr(configuration, 'RELEASE_CHECK_TIMEOUT'):
warnings.warn(
"The RELEASE_CHECK_TIMEOUT configuration parameter was removed in v3.0.0 and no longer has any effect."
)
# Enforce required configuration parameters
for parameter in ['ALLOWED_HOSTS', 'DATABASE', 'SECRET_KEY', 'REDIS']:
if not hasattr(configuration, parameter):
@@ -379,6 +369,7 @@ LANGUAGE_CODE = 'en-us'
USE_I18N = True
USE_L10N = False
USE_TZ = True
USE_DEPRECATED_PYTZ = True
# WSGI
WSGI_APPLICATION = 'netbox.wsgi.application'