Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GraceDB Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Coughlin
GraceDB Server
Commits
863bbcfc
Commit
863bbcfc
authored
7 years ago
by
Tanner Prestegard
Committed by
gracedb-dev1
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
adding django-extensions for test servers
parent
aa2595d2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
settings/test.py
+7
-3
7 additions, 3 deletions
settings/test.py
with
8 additions
and
3 deletions
.gitignore
+
1
−
0
View file @
863bbcfc
...
...
@@ -6,6 +6,7 @@ static-collected
static/admin/
static/rest_framework/
static/debug_toolbar/
static/django_extensions/
static/guardian/
doc/build/*
doc/build/.buildinfo
...
...
This diff is collapsed.
Click to expand it.
settings/test.py
+
7
−
3
View file @
863bbcfc
...
...
@@ -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
'
},
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment