Skip to content

Commit

Permalink
switchboard env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
davish committed Sep 27, 2019
1 parent 9110b0d commit 9f352d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PennCourses/settings/dev.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
from .base import *


Expand All @@ -11,7 +12,7 @@
they operate with different URL schemes since they have different APIs. The app value should correspond to a file
in PennCourses/urls/. `pca` and `pcp` are two examples.
'''
SWITCHBOARD_TEST_APP = 'pca'
SWITCHBOARD_TEST_APP = os.environ.get('DEVELOPMENT_APP', 'pcp').lower()

DATABASES = {
'default': {
Expand Down

0 comments on commit 9f352d4

Please sign in to comment.