Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
SERVER_NAME needed when SHORTENER_ENABLED = True
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacbruno committed Aug 23, 2015
1 parent 34e82a4 commit 0c91594
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/openshift_settings.py
Expand Up @@ -19,6 +19,7 @@
DEBUG = True

SHORTENER_ENABLED = True
SERVER_NAME = 'development.quokkaproject.org'

MAP_STATIC_ROOT = (
'/robots.txt',
Expand Down
3 changes: 3 additions & 0 deletions quokka/settings.py
Expand Up @@ -275,6 +275,9 @@
"Shortner urls configuration"
SHORTENER_ENABLED = False

"Note: if you enable shortener you have to define a SERVER_NAME"
# SERVER_NAME = 'localhost'

"Config shorter information"
SHORTENER_SETTINGS = {"name": "BitlyShortener",
"bitly_api_key": "R_7d84f09c68be4c749cac2a56ace2e73f",
Expand Down

0 comments on commit 0c91594

Please sign in to comment.