annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
1 # -*- coding: utf-8 -*-
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
2 """
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
3 Django LOCAL settings for sat_website project, typically to be imported from
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
4 the main settings.py file (see http://stackoverflow.com/a/4909964).
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
5
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
6 For more information on this file, see
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
7 https://docs.djangoproject.com/en/1.7/topics/settings/
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
8
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
9 For the full list of settings and their values, see
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
10 https://docs.djangoproject.com/en/1.7/ref/settings/
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
11 """
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
12
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
13 # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
14 import os
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
15 BASE_DIR = os.path.dirname(os.path.dirname(__file__))
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
16
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
17
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
18 # Quick-start development settings - unsuitable for production
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
19 # See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
20
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
21 # SECURITY WARNING: keep the secret key used in production secret!
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
22 SECRET_KEY = '{{ secret_key }}'
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
23
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
24 # SECURITY WARNING: don't run with debug turned on in production!
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
25 DEBUG = True
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
26
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
27 TEMPLATE_DEBUG = DEBUG
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
28
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
29
41
1a0f24401866 send adhesion form results via email to the admins and the new member
souliane <souliane@mailoo.org>
parents: 40
diff changeset
30 # Email settings
1a0f24401866 send adhesion form results via email to the admins and the new member
souliane <souliane@mailoo.org>
parents: 40
diff changeset
31
1a0f24401866 send adhesion form results via email to the admins and the new member
souliane <souliane@mailoo.org>
parents: 40
diff changeset
32 # print email to stdout instead of actually sending it
1a0f24401866 send adhesion form results via email to the admins and the new member
souliane <souliane@mailoo.org>
parents: 40
diff changeset
33 EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
1a0f24401866 send adhesion form results via email to the admins and the new member
souliane <souliane@mailoo.org>
parents: 40
diff changeset
34
1a0f24401866 send adhesion form results via email to the admins and the new member
souliane <souliane@mailoo.org>
parents: 40
diff changeset
35 DEFAULT_FROM_EMAIL = u'contact@salut-a-toi.org'
1a0f24401866 send adhesion form results via email to the admins and the new member
souliane <souliane@mailoo.org>
parents: 40
diff changeset
36
1a0f24401866 send adhesion form results via email to the admins and the new member
souliane <souliane@mailoo.org>
parents: 40
diff changeset
37 ADMINS = ((u'Salut à Toi', 'contact@salut-a-toi.org'),)
1a0f24401866 send adhesion form results via email to the admins and the new member
souliane <souliane@mailoo.org>
parents: 40
diff changeset
38
1a0f24401866 send adhesion form results via email to the admins and the new member
souliane <souliane@mailoo.org>
parents: 40
diff changeset
39
24
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
40 # Application definition
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
41
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
42 INSTALLED_APPS = (
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
43 'django.contrib.admin',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
44 'django.contrib.auth',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
45 'django.contrib.contenttypes',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
46 'django.contrib.sessions',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
47 'django.contrib.messages',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
48 'django.contrib.staticfiles',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
49 'markdown_deux', # https://github.com/trentm/django-markdown-deux
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
50 'sat_website', # needed to load the apps in templatetags
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
51 )
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
52
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
53 MIDDLEWARE_CLASSES = (
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
54 'django.contrib.sessions.middleware.SessionMiddleware',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
55 'django.middleware.locale.LocaleMiddleware', # after SessionMiddleWare AND before CommonMiddleWare
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
56 'django.middleware.common.CommonMiddleware',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
57 'django.middleware.csrf.CsrfViewMiddleware',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
58 'django.contrib.auth.middleware.AuthenticationMiddleware',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
59 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
60 'django.contrib.messages.middleware.MessageMiddleware',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
61 'django.middleware.clickjacking.XFrameOptionsMiddleware',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
62 )
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
63
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
64 ROOT_URLCONF = 'sat_website.urls'
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
65
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
66
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
67 # Database
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
68 # https://docs.djangoproject.com/en/1.7/ref/settings/#databases
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
69
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
70 DATABASES = {
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
71 'default': {
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
72 'ENGINE': 'django.db.backends.sqlite3',
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
73 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
74 }
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
75 }
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
76
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
77 # Internationalization
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
78 # https://docs.djangoproject.com/en/1.7/topics/i18n/
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
79
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
80 LANGUAGE_CODE = 'en-us'
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
81
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
82 TIME_ZONE = 'Europe/Paris'
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
83
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
84 USE_I18N = True
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
85
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
86 USE_L10N = True
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
87
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
88 USE_TZ = True
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
89
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
90 LOCALE_PATHS = ("locale",)
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
91
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
92
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
93 # Static files (CSS, JavaScript, Images)
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
94 # https://docs.djangoproject.com/en/1.7/howto/static-files/
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
95
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
96 STATIC_URL = '/static/'
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
97
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
98 STATICFILES_DIRS = (
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
99 os.path.join(BASE_DIR, 'static'),
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
100 )
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
101
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
102 # Templates
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
103
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
104 TEMPLATE_DIRS = (
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
105 os.path.join(BASE_DIR, 'templates'),
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
106 )
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
107
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
108 # Options for SàT website (see README)
c6a3ca0429dd add local_settings.py and instructions to run the website locally
souliane <souliane@mailoo.org>
parents:
diff changeset
109
58
746e53efc188 allow large media files (screencasts) to be stored on an external server
souliane <souliane@mailoo.org>
parents: 57
diff changeset
110 # External URL pointing the external media files
746e53efc188 allow large media files (screencasts) to be stored on an external server
souliane <souliane@mailoo.org>
parents: 57
diff changeset
111 MEDIA_EXTERNAL_URL = 'ftp://ftp.goffi.org/media'
746e53efc188 allow large media files (screencasts) to be stored on an external server
souliane <souliane@mailoo.org>
parents: 57
diff changeset
112
39
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
113 # External URL pointing the projects archives directory
58
746e53efc188 allow large media files (screencasts) to be stored on an external server
souliane <souliane@mailoo.org>
parents: 57
diff changeset
114 PROJECTS_EXTERNAL_URL = 'ftp://ftp.goffi.org'
39
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
115
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
116 # Internal path to the the projects archives directory
60
0d20fb28c32e many small changes:
souliane <souliane@mailoo.org>
parents: 58
diff changeset
117 PROJECTS_INTERNAL_PATH = '/srv/ftp'
39
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
118
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
119 # List of couples with the project directory name and the project name (set to None if it's the same)
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
120 PROJECTS_NAMES = [('sat', None), ('sat_media', None), ('urwid-satext', 'urwid_satext'), ('sat_pubsub', None), ('libervia', None)]
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
121
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
122 # Extension used to name the project archives
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
123 ARCHIVE_SUFFIX = '.tar.bz2'
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
124
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
125 # URL to Libervia online demo
31
31d196cf3b34 add settings ASSO_MEMBERS_*, ASSO_FINANCE_* and LIBERVIA_DEMO_URL
souliane <souliane@mailoo.org>
parents: 24
diff changeset
126 LIBERVIA_DEMO_URL = 'https://www.libervia.org'
31d196cf3b34 add settings ASSO_MEMBERS_*, ASSO_FINANCE_* and LIBERVIA_DEMO_URL
souliane <souliane@mailoo.org>
parents: 24
diff changeset
127
39
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
128 # Actual and target number of members
31
31d196cf3b34 add settings ASSO_MEMBERS_*, ASSO_FINANCE_* and LIBERVIA_DEMO_URL
souliane <souliane@mailoo.org>
parents: 24
diff changeset
129 ASSO_MEMBERS_ACTUAL = 3400
31d196cf3b34 add settings ASSO_MEMBERS_*, ASSO_FINANCE_* and LIBERVIA_DEMO_URL
souliane <souliane@mailoo.org>
parents: 24
diff changeset
130 ASSO_MEMBERS_TARGET = 6000
39
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
131
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
132 # Actual and target amount to finance the association (in euros)
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
133 ASSO_FINANCE_ACTUAL = 40000
31
31d196cf3b34 add settings ASSO_MEMBERS_*, ASSO_FINANCE_* and LIBERVIA_DEMO_URL
souliane <souliane@mailoo.org>
parents: 24
diff changeset
134 ASSO_FINANCE_TARGET = 60000
39
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
135
d2c45f4ba57e add downloads.html
souliane <souliane@mailoo.org>
parents: 31
diff changeset
136 # Subscription amounts as defined in the Rules of Procedure
31
31d196cf3b34 add settings ASSO_MEMBERS_*, ASSO_FINANCE_* and LIBERVIA_DEMO_URL
souliane <souliane@mailoo.org>
parents: 24
diff changeset
137 ASSO_SUBSCR_AMOUNTS = (0, 10, 20, 30, 50, 80, 100)
40
dfe7139dae0a add links to the statutes and rules of the association in the adhesion form
souliane <souliane@mailoo.org>
parents: 39
diff changeset
138
60
0d20fb28c32e many small changes:
souliane <souliane@mailoo.org>
parents: 58
diff changeset
139 # Path the CSV file where all the subscriptions are written
0d20fb28c32e many small changes:
souliane <souliane@mailoo.org>
parents: 58
diff changeset
140 ASSO_SUBSCR_CSV = "/home/souliane/sat_website_subscriptions.csv"
0d20fb28c32e many small changes:
souliane <souliane@mailoo.org>
parents: 58
diff changeset
141
58
746e53efc188 allow large media files (screencasts) to be stored on an external server
souliane <souliane@mailoo.org>
parents: 57
diff changeset
142 # Bank account information
57
bfa8009f0769 improve the subscription form
souliane <souliane@mailoo.org>
parents: 41
diff changeset
143 ASSO_IBAN = u"FR76 1027 8060 4300 0207 3220 109"
bfa8009f0769 improve the subscription form
souliane <souliane@mailoo.org>
parents: 41
diff changeset
144 ASSO_BIC = u"CMCIFR2A"
bfa8009f0769 improve the subscription form
souliane <souliane@mailoo.org>
parents: 41
diff changeset
145
40
dfe7139dae0a add links to the statutes and rules of the association in the adhesion form
souliane <souliane@mailoo.org>
parents: 39
diff changeset
146 # URL to the Statutes and Rules of the association
dfe7139dae0a add links to the statutes and rules of the association in the adhesion form
souliane <souliane@mailoo.org>
parents: 39
diff changeset
147 ASSO_URL_STATUTES = 'http://repos.goffi.org/sat_docs/raw-file/tip/association/statuts.pdf'
dfe7139dae0a add links to the statutes and rules of the association in the adhesion form
souliane <souliane@mailoo.org>
parents: 39
diff changeset
148 ASSO_URL_RULES = 'http://repos.goffi.org/sat_docs/raw-file/tip/association/r%C3%A8glement%20int%C3%A9rieur.pdf'
60
0d20fb28c32e many small changes:
souliane <souliane@mailoo.org>
parents: 58
diff changeset
149
0d20fb28c32e many small changes:
souliane <souliane@mailoo.org>
parents: 58
diff changeset
150 # 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)
0d20fb28c32e many small changes:
souliane <souliane@mailoo.org>
parents: 58
diff changeset
151 from sys import path
0d20fb28c32e many small changes:
souliane <souliane@mailoo.org>
parents: 58
diff changeset
152 path.append('/home/souliane')
0d20fb28c32e many small changes:
souliane <souliane@mailoo.org>
parents: 58
diff changeset
153 from sat_website_external_settings import *