summaryrefslogtreecommitdiff
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
commitcac51cf98ed10ccaf7a5639d6c88d8147d304df2 (patch)
tree9bb375d49c8aaf6ed1b33c0c5bdd53073abdec0f
parentf9e779bd27fed50aaa4d9eb05a20c90593aa46e7 (diff)
downloadChimère - projet de référence-cac51cf98ed10ccaf7a5639d6c88d8147d304df2.tar.bz2
Chimère - projet de référence-cac51cf98ed10ccaf7a5639d6c88d8147d304df2.zip
Fix bad share networks links
-rw-r--r--settings.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/settings.py b/settings.py
index e821682..69a3fbf 100644
--- a/settings.py
+++ b/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',