diff options
-rw-r--r-- | settings.py | 5 |
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', |