Arborescence des pages

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

(django_pod) pod@pod:/usr/local/django_projects/podv2$ vim pod/custom/settings_local.py


```Python console CELERY_TO_ENCODE = True # Active encode

CELERY_BROKER_URL = "amqp://pod:mdp@ip.serveur.frontal/rabbitpod" # Definit le message broker.

TIME_ZONE = 'Europe/Paris'

DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'database_name', 'USER': 'user_anme', 'PASSWORD': 'password', 'HOST': 'mysql_host_ip', 'PORT': '3306', 'OPTIONS': { 'init_command': "SET storage_engine=INNODB, sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1", }, } }

ES_URL = ['http://elastic.domaine.fr:9200/']

EMAIL_HOST = 'smtp.domaine.fr'

EMAIL_PORT = 25

DEFAULT_FROM_EMAIL = 'noreply@pod.domaine.fr'

SERVER_EMAIL = 'noreply@pod.domaine.fr'

...