summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-07-05 19:50:18 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-07-05 19:50:18 +0200
commitfd5a65ede91637d41162ebcf3eda378bbbbc8690 (patch)
treef5894d7129f73afbf989daff6eb6e8e7f6627cb0 /example_project
parentf8c7d5a6aa8460db14ddfe39944d19a872b1be8d (diff)
downloadChimère-fd5a65ede91637d41162ebcf3eda378bbbbc8690.tar.bz2
Chimère-fd5a65ede91637d41162ebcf3eda378bbbbc8690.zip
Fix bad share networks links
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index e821682..69a3fbf 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -227,11 +227,12 @@ try:
except ImportError, e:
print 'Unable to load local_settings.py:', e
-if 'SHARE_NETWORKS' not in globals():
+if 'CHIMERE_SHARE_NETWORKS' not in globals():
# after the locals to get the right STATIC_URL
# share with
- SHARE_NETWORKS = (
+ global CHIMERE_SHARE_NETWORKS
+ CHIMERE_SHARE_NETWORKS = (
("Email", 'mailto:?subject=%(text)s&body=%(url)s',
STATIC_URL + 'chimere/img/email.png'),
("Facebook", 'http://www.facebook.com/sharer.php?t=%(text)s&u=%(url)s',