diff sat_website/local_settings.py @ 60:0d20fb28c32e

many small changes: - set opacity 0.85 to libervia screenshot on the main page - remove videos from the repository (stored on external ftp) - more details in the README concerning the i18n - settings can be overriden by an external file (for the stats) - add in basic features.html a button to experimental features - add a link to the SàT MUC in downloads section - add link to bugzilla + improve other links in dev/community - add + symbol for projects using standard blogging system - add ~ symbol for projects being no communication tool - save subscription form results to a text file - update press.py and links.py
author souliane <souliane@mailoo.org>
date Fri, 15 May 2015 17:15:40 +0200
parents 746e53efc188
children c902ce09d4ed
line wrap: on
line diff
--- a/sat_website/local_settings.py	Thu May 14 23:42:25 2015 +0200
+++ b/sat_website/local_settings.py	Fri May 15 17:15:40 2015 +0200
@@ -114,7 +114,7 @@
 PROJECTS_EXTERNAL_URL = 'ftp://ftp.goffi.org'
 
 # Internal path to the the projects archives directory
-PROJECTS_INTERNAL_PATH = '/var/www/projects'
+PROJECTS_INTERNAL_PATH = '/srv/ftp'
 
 # List of couples with the project directory name and the project name (set to None if it's the same)
 PROJECTS_NAMES = [('sat', None), ('sat_media', None), ('urwid-satext', 'urwid_satext'), ('sat_pubsub', None), ('libervia', None)]
@@ -136,6 +136,9 @@
 # Subscription amounts as defined in the Rules of Procedure
 ASSO_SUBSCR_AMOUNTS = (0, 10, 20, 30, 50, 80, 100)
 
+# Path the CSV file where all the subscriptions are written
+ASSO_SUBSCR_CSV = "/home/souliane/sat_website_subscriptions.csv"
+
 # Bank account information
 ASSO_IBAN = u"FR76 1027 8060 4300 0207 3220 109"
 ASSO_BIC = u"CMCIFR2A"
@@ -143,3 +146,8 @@
 # URL to the Statutes and Rules of the association
 ASSO_URL_STATUTES = 'http://repos.goffi.org/sat_docs/raw-file/tip/association/statuts.pdf'
 ASSO_URL_RULES = 'http://repos.goffi.org/sat_docs/raw-file/tip/association/r%C3%A8glement%20int%C3%A9rieur.pdf'
+
+# Import another settings file that can override these settings (for example to daily update the stats when you don't want a script to directly modify this file)
+from sys import path
+path.append('/home/souliane')
+from sat_website_external_settings import *