Màj du settings d'exemple.

- Suppression des variables `{STATIC,MEDIA}_ROOT`
- Ajout du backend 'console' pour les mails
This commit is contained in:
Martin Pépin 2016-06-25 01:09:09 +02:00
parent 4c70ddc82a
commit 03e712c1fc

View file

@ -13,10 +13,10 @@ import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
MEDIA_URL = '/media/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_URL = '/static/'
# Quick-start development settings - unsuitable for production