Added scout-apm to the requirements and added settings scaffolding.

- Legacy-Id: 19399
This commit is contained in:
Robert Sparks 2021-10-07 16:39:29 +00:00
parent 6f609e1b31
commit a8aab5cb17
3 changed files with 8 additions and 1 deletions

View file

@ -26,6 +26,8 @@ ietfdb (7.39.0) ietf; urgency=medium
* Merged in [19396] from rjsparks@nostrum.com:
Provide a metadata endpoint to assist rfcdiff.pyht.
* Added scout-apm to requirements and added settings scaffolding.
-- Robert Sparks <rjsparks@nostrum.com> 07 Oct 2021 15:20:42 +0000

View file

@ -1051,6 +1051,7 @@ BADNESS_MUCHTOOBIG = 500
# Set debug apps in settings_local.DEV_APPS
DEV_APPS = [] # type: List[str]
DEV_PRE_APPS = []
DEV_MIDDLEWARE = ()
# django-debug-toolbar and the debug listing of sql queries at the bottom of
@ -1226,9 +1227,12 @@ for app in INSTALLED_APPS:
# Add DEV_APPS to INSTALLED_APPS
INSTALLED_APPS += DEV_APPS
INSTALLED_APPS = DEV_PRE_APPS + INSTALLED_APPS
MIDDLEWARE += DEV_MIDDLEWARE
TEMPLATES[0]['OPTIONS']['context_processors'] += DEV_TEMPLATE_CONTEXT_PROCESSORS
if SERVER_MODE == 'production':
INSTALLED_APPS.insert(0,'scout_apm.django')
# We provide a secret key only for test and development modes. It's
# absolutely vital that django fails to start in production mode unless a

View file

@ -60,6 +60,7 @@ pytz>=2014.7
requests!=2.12.*
requests-mock>=1.8
rfc2html>=2.0.1
scout-apm>=2.23.0
selenium>=3.9.0
six>=1.10.0
svn>=1.0.1