File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ ietfdb (7.39.0) ietf; urgency=medium
2626 * Merged in [19396] from rjsparks@nostrum.com:
2727 Provide a metadata endpoint to assist rfcdiff.pyht.
2828
29+ * Added scout-apm to requirements and added settings scaffolding.
30+
2931 -- Robert Sparks <rjsparks@nostrum.com> 07 Oct 2021 15:20:42 +0000
3032
3133
Original file line number Diff line number Diff line change @@ -1051,6 +1051,7 @@ def skip_unreadable_post(record):
10511051# Set debug apps in settings_local.DEV_APPS
10521052
10531053DEV_APPS = [] # type: List[str]
1054+ DEV_PRE_APPS = []
10541055DEV_MIDDLEWARE = ()
10551056
10561057# django-debug-toolbar and the debug listing of sql queries at the bottom of
@@ -1226,9 +1227,12 @@ def skip_unreadable_post(record):
12261227
12271228# Add DEV_APPS to INSTALLED_APPS
12281229INSTALLED_APPS += DEV_APPS
1230+ INSTALLED_APPS = DEV_PRE_APPS + INSTALLED_APPS
12291231MIDDLEWARE += DEV_MIDDLEWARE
12301232TEMPLATES [0 ]['OPTIONS' ]['context_processors' ] += DEV_TEMPLATE_CONTEXT_PROCESSORS
12311233
1234+ if SERVER_MODE == 'production' :
1235+ INSTALLED_APPS .insert (0 ,'scout_apm.django' )
12321236
12331237# We provide a secret key only for test and development modes. It's
12341238# absolutely vital that django fails to start in production mode unless a
@@ -1288,4 +1292,4 @@ def skip_unreadable_post(record):
12881292 CSRF_COOKIE_SAMESITE = 'Lax'
12891293 SESSION_COOKIE_SECURE = False
12901294 SESSION_COOKIE_SAMESITE = 'Lax'
1291-
1295+
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ pytz>=2014.7
6060requests != 2.12.*
6161requests-mock >= 1.8
6262rfc2html >= 2.0.1
63+ scout-apm >= 2.23.0
6364selenium >= 3.9.0
6465six >= 1.10.0
6566svn >= 1.0.1
You can’t perform that action at this time.
0 commit comments