Skip to content

Commit

Permalink
move Janrain API key to 1.py (gitignore'd)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacdontjelindell committed Jun 18, 2013
1 parent 67034e8 commit 49db450
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions models/0.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
settings.course_id = 'devcourse'
settings.plugins = []

# real API key set in gitignore'd 1.py
settings.janrain_api_key = 'a_fake_key'

if 'local' in uname()[1] or 'Darwin' in uname()[0]:
settings.database_uri = 'sqlite://storage.sqlite'
elif 'webfaction' in uname()[1]:
Expand Down
2 changes: 1 addition & 1 deletion models/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def __call__(self, value):
request.application)

janrain_form = RPXAccount(request,
api_key='20cd9290c5a55568548e1deba04a67afc5c263be',
api_key=settings.janrain_api_key, # set in 1.py
domain='runestoneinteractive',
url=janrain_url)

Expand Down

0 comments on commit 49db450

Please sign in to comment.