Skip to content

Commit

Permalink
Merge pull request #278 from appsembler/john/fix-devsite-settings
Browse files Browse the repository at this point in the history
Fix Figures devsite settings
  • Loading branch information
johnbaldwin authored Oct 29, 2020
2 parents 762000f + a28df57 commit 2908dba
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions devsite/devsite/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@
update_celerybeat_schedule,
)

OPENEDX_RELEASE = os.environ.get('OPENEDX_RELEASE', 'HAWTHORN').upper()


env = environ.Env(
FIGURES_IS_MULTISITE=(bool, False),
SEED_DAYS_BACK=(int, 60),
SEED_NUM_LEARNERS_PER_COURSE=(int, 25)
SEED_NUM_LEARNERS_PER_COURSE=(int, 25),
OPENEDX_RELEASE=(str, 'HAWTHORN'),
)

environ.Env.read_env()

OPENEDX_RELEASE = env('OPENEDX_RELEASE')

if OPENEDX_RELEASE == 'GINKGO':
MOCKS_DIR = 'mocks/ginkgo'
Expand Down

0 comments on commit 2908dba

Please sign in to comment.