# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com", "http://example.com/media/"
#MEDIA_URL = 'http://pre-barreau.com/archives/'
-MEDIA_URL = 'https://e-learning.pro-barreau.com/media/'
+MEDIA_URL = '/media/'
# Absolute path to the directory static files should be collected to.
# Don't put anything in this directory yourself; store your static files
UNIQUE_SESSION_WHITELIST = (1, 2042)
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
+SESSION_COOKIE_DOMAIN=".pro-barreau.com"
+
# RECAPTCHA_PUBLIC_KEY = '6Ldq5DgbAAAAADkKg19JXlhx6F1XUQDsrXfXqSP6'
# RECAPTCHA_PRIVATE_KEY = '6Ldq5DgbAAAAAOVDOeF2kH8i2e2VSNHpqlinbpAJ'
# RECAPTCHA_REQUIRED_SCORE = 0.85
# watchmedo shell-command --patterns="$patterns" --recursive \
# --command='python '$manage' collectstatic --noinput' $app &
- #python $manage collectstatic --noinput
+ python $manage collectstatic --noinput --ignore Pre-Barreau/*
chown -R www-data: $debug_log