Skip to content
Snippets Groups Projects
Commit 863bbcfc authored by Tanner Prestegard's avatar Tanner Prestegard Committed by gracedb-dev1
Browse files

adding django-extensions for test servers

parent aa2595d2
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ static-collected
static/admin/
static/rest_framework/
static/debug_toolbar/
static/django_extensions/
static/guardian/
doc/build/*
doc/build/.buildinfo
......
......@@ -6,8 +6,6 @@ CONFIG_NAME = "TEST"
# Debug settings
DEBUG = True
# Don't let django-debug-toolbar edit settings
DEBUG_TOOLBAR_PATCH_SETTINGS = False
# Override EMBB email address
# TP (8 Aug 2017): not sure why?
......@@ -22,11 +20,17 @@ MIDDLEWARE += [
# Add to installed apps
INSTALLED_APPS += [
'debug_toolbar',
'django_extensions',
]
# Tuple of IPs which are marked as internal, useful for debugging
# Changed to a list in Django 1.9+
INTERNAL_IPS = [
'129.89.57.164',
'129.89.57.200',
]
# Aliases for django-extensions shell_plus
# We have two 'Group' models - auth.Group and gracedb.Group
SHELL_PLUS_MODEL_ALIASES = {
'auth': {'Group': 'AuthGroup'},
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment