summaryrefslogtreecommitdiff
path: root/commonnet
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-08-08 10:43:01 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-08-08 10:43:01 +0200
commit3556c80167b21e36476dd0a56ded6e8c4fc0020c (patch)
tree6520ff0de7d35d7d0ee4bddad3bea040140cf09d /commonnet
parent838fd71728067d34a490f4a6fcaa3a09a460ef0a (diff)
downloadComm-on-net-3556c80167b21e36476dd0a56ded6e8c4fc0020c.tar.bz2
Comm-on-net-3556c80167b21e36476dd0a56ded6e8c4fc0020c.zip
Install templates
Diffstat (limited to 'commonnet')
-rw-r--r--commonnet/settings.py18
1 files changed, 1 insertions, 17 deletions
diff --git a/commonnet/settings.py b/commonnet/settings.py
index d2048b2..d50aff9 100644
--- a/commonnet/settings.py
+++ b/commonnet/settings.py
@@ -79,11 +79,6 @@ DATABASES = {
}
}
-
-
-# Password validation
-# https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators
-
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
@@ -99,27 +94,16 @@ AUTH_PASSWORD_VALIDATORS = [
},
]
-
-# Internationalization
-# https://docs.djangoproject.com/en/1.11/topics/i18n/
-
LANGUAGE_CODE = 'fr-fr'
-
TIME_ZONE = 'Europe/Paris'
-
USE_I18N = True
-
USE_L10N = True
-
USE_TZ = True
-
DATA_UPLOAD_MAX_NUMBER_FIELDS = 5000
-# Static files (CSS, JavaScript, Images)
-# https://docs.djangoproject.com/en/1.11/howto/static-files/
-
STATIC_URL = '/static/'
+STATIC_ROOT = os.path.join(BASE_DIR, "collected_static")
CRAWL_TIMEOUT = 30 # timeout for each website crawl in minutes