comparison settings/specific.py @ 149:b1c16cd53b62

update django to version 1.11, refactor project structure, better PEP-8 compliance
author souliane <souliane@mailoo.org>
date Tue, 17 Oct 2017 04:11:21 +0200
parents
children d893828f58f0
comparison
equal deleted inserted replaced
148:75a95a1dfeb6 149:b1c16cd53b62
1 # -*- coding: utf-8 -*-
2
3
4 import os
5 from .settings import PROJECT_DIR
6
7
8 # Here are defined the settings that are specific to the SàT website
9
10 # External URL pointing the external media files
11 MEDIA_EXTERNAL_URL = 'http://ftp.goffi.org/media'
12
13 # External URL pointing the projects archives directory
14 PROJECTS_EXTERNAL_URL = 'http://ftp.goffi.org'
15
16 # Internal path to the the projects archives directory
17 PROJECTS_INTERNAL_PATH = '/srv/ftp'
18
19 # List of couples with the project directory name and the project name (set to None if it's the same)
20 PROJECTS_NAMES = [('sat', None), ('sat_media', None), ('urwid-satext', 'urwid_satext'), ('sat_pubsub', None), ('libervia', None)]
21
22 # Extension used to name the project archives
23 ARCHIVE_SUFFIX = '.tar.bz2'
24
25 # URL to Libervia online demo
26 LIBERVIA_DEMO_URL = 'https://www.libervia.org'
27
28 # Actual and target number of members
29 ASSO_MEMBERS_ACTUAL = 3400
30 ASSO_MEMBERS_TARGET = 6000
31
32 # Actual and target amount to finance the association (in euros)
33 ASSO_FINANCE_ACTUAL = 40000
34 ASSO_FINANCE_TARGET = 60000
35
36 # Subscription amounts as defined in the Rules of Procedure
37 ASSO_SUBSCR_AMOUNTS = (0, 10, 20, 30, 50, 80, 100)
38
39 # Path the CSV file where all the subscriptions are written
40 ASSO_SUBSCR_CSV = os.path.join(PROJECT_DIR, "sat_website_subscriptions.csv")
41
42 # Bank account information
43 ASSO_IBAN = u"FR76 1027 8060 4300 0207 3220 109"
44 ASSO_BIC = u"CMCIFR2A"
45
46 # URL to the Statutes and Rules of the association
47 ASSO_URL_STATUTES = 'http://repos.goffi.org/sat_docs/raw-file/tip/association/statuts.pdf'
48 ASSO_URL_RULES = 'http://repos.goffi.org/sat_docs/raw-file/tip/association/r%C3%A8glement%20int%C3%A9rieur.pdf'