mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 06:03:20 +00:00
Format settings
This commit is contained in:
parent
4395d62cd8
commit
b3466237ca
@ -180,7 +180,7 @@ HAYSTACK_CONNECTIONS = {
|
||||
'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
|
||||
'PATH': os.path.join(os.path.dirname(__file__), 'whoosh_index'),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
HAYSTACK_SIGNAL_PROCESSOR = 'core.search_indexes.UserOnlySignalProcessor'
|
||||
|
||||
@ -208,7 +208,7 @@ LANGUAGE_CODE = 'fr-FR'
|
||||
LANGUAGES = [
|
||||
('en', _('English')),
|
||||
('fr', _('French')),
|
||||
]
|
||||
]
|
||||
|
||||
TIME_ZONE = 'Europe/Paris'
|
||||
|
||||
@ -247,13 +247,13 @@ AUTH_ANONYMOUS_MODEL = 'core.models.AnonymousUser'
|
||||
LOGIN_URL = '/login'
|
||||
LOGOUT_URL = '/logout'
|
||||
LOGIN_REDIRECT_URL = '/'
|
||||
DEFAULT_FROM_EMAIL="bibou@git.an"
|
||||
SITH_COM_EMAIL="bibou_com@git.an"
|
||||
DEFAULT_FROM_EMAIL = "bibou@git.an"
|
||||
SITH_COM_EMAIL = "bibou_com@git.an"
|
||||
|
||||
# Email
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
EMAIL_HOST="localhost"
|
||||
EMAIL_PORT=25
|
||||
EMAIL_HOST = "localhost"
|
||||
EMAIL_PORT = 25
|
||||
|
||||
# Below this line, only Sith-specific variables are defined
|
||||
|
||||
@ -265,7 +265,7 @@ OLD_MYSQL_INFOS = {
|
||||
'db': "ae2-db",
|
||||
'charset': 'utf8',
|
||||
'use_unicode': True,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SITH_URL = "my.url.git.an"
|
||||
@ -277,21 +277,21 @@ SITH_MAIN_CLUB = {
|
||||
'name': "AE",
|
||||
'unix_name': "ae",
|
||||
'address': "6 Boulevard Anatole France, 90000 Belfort"
|
||||
}
|
||||
}
|
||||
|
||||
# Bar managers
|
||||
SITH_BAR_MANAGER = {
|
||||
'name': "BdF",
|
||||
'unix_name': "bdf",
|
||||
'address': "6 Boulevard Anatole France, 90000 Belfort"
|
||||
}
|
||||
}
|
||||
|
||||
# Launderette managers
|
||||
SITH_LAUNDERETTE_MANAGER = {
|
||||
'name': "Laverie",
|
||||
'unix_name': "laverie",
|
||||
'address': "6 Boulevard Anatole France, 90000 Belfort"
|
||||
}
|
||||
}
|
||||
|
||||
# Define the date in the year serving as reference for the subscriptions calendar
|
||||
# (month, day)
|
||||
@ -328,11 +328,11 @@ SITH_FORUM_PAGE_LENGTH = 30
|
||||
# SAS variables
|
||||
SITH_SAS_ROOT_DIR_ID = 4
|
||||
|
||||
SITH_BOARD_SUFFIX="-bureau"
|
||||
SITH_MEMBER_SUFFIX="-membres"
|
||||
SITH_BOARD_SUFFIX = "-bureau"
|
||||
SITH_MEMBER_SUFFIX = "-membres"
|
||||
|
||||
SITH_MAIN_BOARD_GROUP=SITH_MAIN_CLUB['unix_name']+SITH_BOARD_SUFFIX
|
||||
SITH_MAIN_MEMBERS_GROUP=SITH_MAIN_CLUB['unix_name']+SITH_MEMBER_SUFFIX
|
||||
SITH_MAIN_BOARD_GROUP = SITH_MAIN_CLUB['unix_name'] + SITH_BOARD_SUFFIX
|
||||
SITH_MAIN_MEMBERS_GROUP = SITH_MAIN_CLUB['unix_name'] + SITH_MEMBER_SUFFIX
|
||||
|
||||
SITH_PROFILE_DEPARTMENTS = [
|
||||
("TC", _("TC")),
|
||||
@ -348,14 +348,14 @@ SITH_PROFILE_DEPARTMENTS = [
|
||||
("EDIM", _("EDIM")),
|
||||
("HUMA", _("Humanities")),
|
||||
("NA", _("N/A")),
|
||||
]
|
||||
]
|
||||
|
||||
SITH_ACCOUNTING_PAYMENT_METHOD = [
|
||||
('CHECK', _('Check')),
|
||||
('CASH', _('Cash')),
|
||||
('TRANSFERT', _('Transfert')),
|
||||
('CARD', _('Credit card')),
|
||||
]
|
||||
]
|
||||
|
||||
SITH_SUBSCRIPTION_PAYMENT_METHOD = [
|
||||
('CHECK', _('Check')),
|
||||
@ -363,26 +363,26 @@ SITH_SUBSCRIPTION_PAYMENT_METHOD = [
|
||||
('CASH', _('Cash')),
|
||||
('EBOUTIC', _('Eboutic')),
|
||||
('OTHER', _('Other')),
|
||||
]
|
||||
]
|
||||
|
||||
SITH_SUBSCRIPTION_LOCATIONS = [
|
||||
('BELFORT', _('Belfort')),
|
||||
('SEVENANS', _('Sevenans')),
|
||||
('MONTBELIARD', _('Montbéliard')),
|
||||
('EBOUTIC', _('Eboutic')),
|
||||
]
|
||||
]
|
||||
|
||||
SITH_COUNTER_BARS = [
|
||||
(1, "MDE"),
|
||||
(2, "Foyer"),
|
||||
(35, "La Gommette"),
|
||||
]
|
||||
]
|
||||
|
||||
SITH_COUNTER_PAYMENT_METHOD = [
|
||||
('CHECK', _('Check')),
|
||||
('CASH', _('Cash')),
|
||||
('CARD', _('Credit card')),
|
||||
]
|
||||
]
|
||||
|
||||
SITH_COUNTER_BANK = [
|
||||
('OTHER', 'Autre'),
|
||||
@ -395,7 +395,7 @@ SITH_COUNTER_BANK = [
|
||||
('CREDIT-MUTUEL', 'Credit Mutuel'),
|
||||
('CREDIT-LYONNAIS', 'Credit Lyonnais'),
|
||||
('LA-POSTE', 'La Poste'),
|
||||
]
|
||||
]
|
||||
|
||||
# Defines pagination for cash summary
|
||||
SITH_COUNTER_CASH_SUMMARY_LENGTH = 50
|
||||
@ -466,7 +466,7 @@ SITH_SUBSCRIPTIONS = {
|
||||
'price': 15,
|
||||
'duration': 2,
|
||||
},
|
||||
# To be completed....
|
||||
# To be completed....
|
||||
}
|
||||
|
||||
SITH_CLUB_ROLES = {}
|
||||
@ -497,16 +497,16 @@ SITH_CLUB_ROLES = {
|
||||
|
||||
# This corresponds to the maximum role a user can freely subscribe to
|
||||
# In this case, SITH_MAXIMUM_FREE_ROLE=1 means that a user can set himself as "Membre actif" or "Curieux", but not higher
|
||||
SITH_MAXIMUM_FREE_ROLE=1
|
||||
SITH_MAXIMUM_FREE_ROLE = 1
|
||||
|
||||
# Minutes to timeout the logged barmen
|
||||
SITH_BARMAN_TIMEOUT=20
|
||||
SITH_BARMAN_TIMEOUT = 20
|
||||
|
||||
# Minutes to delete the last operations
|
||||
SITH_LAST_OPERATIONS_LIMIT=10
|
||||
SITH_LAST_OPERATIONS_LIMIT = 10
|
||||
|
||||
# Minutes for a counter to be inactive
|
||||
SITH_COUNTER_MINUTE_INACTIVE=10
|
||||
SITH_COUNTER_MINUTE_INACTIVE = 10
|
||||
|
||||
# ET variables
|
||||
SITH_EBOUTIC_ET_URL = "https://preprod-tpeweb.e-transactions.fr/cgi/MYchoix_pagepaiement.cgi"
|
||||
@ -523,7 +523,7 @@ SITH_LAUNDERETTE_MACHINE_TYPES = [('WASHING', _('Washing')), ('DRYING', _('Dryin
|
||||
SITH_LAUNDERETTE_PRICES = {
|
||||
'WASHING': 1.0,
|
||||
'DRYING': 0.75,
|
||||
}
|
||||
}
|
||||
|
||||
SITH_NOTIFICATIONS = [
|
||||
('NEWS_MODERATION', _("A fresh new to be moderated")),
|
||||
@ -533,7 +533,7 @@ SITH_NOTIFICATIONS = [
|
||||
('REFILLING', _("You just refilled of %s €")),
|
||||
('SELLING', _("You just bought %s")),
|
||||
('GENERIC', _("You have a notification")),
|
||||
]
|
||||
]
|
||||
|
||||
SITH_QUICK_NOTIF = {
|
||||
'qn_success': _("Success!"),
|
||||
@ -541,7 +541,7 @@ SITH_QUICK_NOTIF = {
|
||||
'qn_weekmail_new_article': _("You successfully posted an article in the Weekmail"),
|
||||
'qn_weekmail_article_edit': _("You successfully edited an article in the Weekmail"),
|
||||
'qn_weekmail_send_success': _("You successfully sent the Weekmail"),
|
||||
}
|
||||
}
|
||||
|
||||
try:
|
||||
from .settings_custom import *
|
||||
|
Loading…
Reference in New Issue
Block a user