Skip to content

Commit

Permalink
APIKEY variables are not needed in config.json.
Browse files Browse the repository at this point in the history
when using local server as photos repository. Fixes #249.
  • Loading branch information
carlosp420 committed Jul 28, 2015
1 parent fc2cbf1 commit 7b143bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions voseq/voseq/settings/local.py
Expand Up @@ -32,8 +32,9 @@ def get_secret(setting, secrets=secrets):
GOOGLE_MAPS_API_KEY = get_secret("GOOGLE_MAPS_API_KEY")

PHOTOS_REPOSITORY = get_secret("PHOTOS_REPOSITORY")
FLICKR_API_KEY = get_secret("FLICKR_API_KEY")
FLICKR_API_SECRET = get_secret("FLICKR_API_SECRET")
if PHOTOS_REPOSITORY == 'flickr':
FLICKR_API_KEY = get_secret("FLICKR_API_KEY")
FLICKR_API_SECRET = get_secret("FLICKR_API_SECRET")

DATABASES = {
'default': {
Expand Down

0 comments on commit 7b143bd

Please sign in to comment.