1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-06-30 07:11:09 +02:00

Clean up Request object

This commit is contained in:
Alexandre Iooss
2019-08-09 23:17:55 +02:00
parent 8b27710266
commit d6e7a2b635
5 changed files with 29 additions and 58 deletions

View File

@ -163,31 +163,11 @@ PASSWORD_HASHERS = [
AUTH_USER_MODEL = 'users.User'
# Association information
ASSO_NAME = "Med"
ASSO_ADDRESS_LINE1 = "61 Avenue du président Wilson"
ASSO_ADDRESS_LINE2 = "94230 Cachan"
ASSO_SIRET = ""
ASSO_EMAIL = "med@lists.crans.org"
ASSO_PHONE = "01 02 03 04 05"
# Number of hours a token remains valid after having been created. Numeric and string
# versions should have the same meaning.
REQ_EXPIRE_HRS = 48
REQ_EXPIRE_STR = '48 heures'
# Email `From` field
EMAIL_FROM = 'club-med@crans.org'
MINIMUM_LEVEL = 0 # Découvert autorisé
SEARCH_RESULT = 15 # Affichage des résultats
MAX_EMPRUNT = 5 # Max emprunts
SEARCH_DISPLAY_PAGE = 20 # Affichage des resultats de recherche
# Utilisateurs autorisés pour la page clef
AUTHORIZED_IP_RANGE = "138.231.0.0/16"
AUTHORIZED_IP6_RANGE = "2a06:e042::/32"
try:
from .settings_local import *
except ImportError: