Update the settings' docstrings

This commit is contained in:
Martin Pépin 2021-02-08 19:19:54 +01:00
parent f29b3f0187
commit 4f60ba35eb
No known key found for this signature in database
GPG key ID: E7520278B1774448
6 changed files with 26 additions and 10 deletions

View file

@ -1,7 +1,9 @@
""" """
Django development settings for the cof project. Settings de production de GestioBDS.
The settings that are not listed here are imported from .common
Surcharge les settings définis dans common.py
""" """
from .common import * # NOQA from .common import * # NOQA
from .common import INSTALLED_APPS from .common import INSTALLED_APPS

View file

@ -1,7 +1,9 @@
""" """
Django development settings for the cof project. Settings de production de GestioCOF.
The settings that are not listed here are imported from .common
Surcharge les settings définis dans common.py
""" """
import os import os
from .common import * # NOQA from .common import * # NOQA

View file

@ -1,8 +1,5 @@
""" """
Django common settings for cof project. Settings par défaut et settings communs à GestioCOF et GestioBDS.
Everything which is supposed to be identical between the production server and
the local development server should be here.
""" """
import os import os

View file

@ -1,4 +1,10 @@
"""Django local development settings.""" """
Settings utilisés dans la VM Vagrant.
Active toutes les applications (de GestioCOF et de GestioBDS).
Surcharge les settings définis dans common.py
"""
import os import os
from . import bds_prod from . import bds_prod

View file

@ -1,4 +1,9 @@
"""Django local development settings.""" """
Settings utilisés lors d'un développement en local (dans un virtualenv).
Active toutes les applications (de GestioCOF et de GestioBDS).
Surcharge les settings définis dans common.py
"""
import os import os
from . import bds_prod from . import bds_prod

View file

@ -1,3 +1,7 @@
"""
Secrets à re-définir en production.
"""
SECRET_KEY = "q()(zn4m63i%5cp4)f+ww4-28_w+ly3q9=6imw2ciu&_(5_4ah" SECRET_KEY = "q()(zn4m63i%5cp4)f+ww4-28_w+ly3q9=6imw2ciu&_(5_4ah"
ADMINS = None ADMINS = None
SERVER_EMAIL = "root@vagrant" SERVER_EMAIL = "root@vagrant"