Skip to content

Commit 47681c5

Browse files
committed
Tweaks to settings.py, adding information about the use of some settings.
- Legacy-Id: 12229
1 parent 2b2abdb commit 47681c5

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

ietf/settings.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -349,11 +349,8 @@ def skip_unreadable_post(record):
349349

350350
}
351351

352+
# Override this in your settings_local with the IP addresses relevant for you:
352353
INTERNAL_IPS = (
353-
# AMS servers
354-
'64.170.98.32',
355-
'64.170.98.86',
356-
357354
# local
358355
'127.0.0.1',
359356
'::1',
@@ -633,9 +630,20 @@ def skip_unreadable_post(record):
633630
SELENIUM_TESTS = False
634631
SELENIUM_TESTS_ONLY = False
635632

636-
# Set debug apps in DEV_APPS settings_local
633+
# Set debug apps in settings_local.DEV_APPS
634+
637635
DEV_APPS = ()
638636
DEV_MIDDLEWARE_CLASSES = ()
637+
638+
# django-debug-toolbar and the debug listing of sql queries at the bottom of
639+
# each page when in dev mode can overlap in functionality, and can slow down
640+
# page loading. If you wish to use the sql_queries debug listing, put this in
641+
# your settings_local and make sure your client IP address is in INTERNAL_IPS:
642+
#
643+
# DEV_TEMPLATE_CONTEXT_PROCESSORS = (
644+
# 'ietf.context_processors.sql_debug',
645+
# )
646+
#
639647
DEV_TEMPLATE_CONTEXT_PROCESSORS = ()
640648

641649
# Domain which hosts draft and wg alias lists

0 commit comments

Comments
 (0)