|
|
|
@ -37,6 +37,8 @@ OPENSHIFT = os.environ["OPENSHIFT"] == 'True' |
|
|
|
|
|
|
|
ALLOWED_HOSTS = [".ocp-cluster.reymota.lab", "reymota.es", ".reymota.lab"] |
|
|
|
|
|
|
|
CSRF_TRUSTED_ORIGINS = ["https://*.ocp-cluster.reymota.lab", "https://reymota.es", "http://reymota.rancher.reymota.lab"] |
|
|
|
|
|
|
|
# Application definition |
|
|
|
|
|
|
|
INSTALLED_APPS = [ |
|
|
|
@ -142,6 +144,7 @@ THOUSAND_SEPARATOR = '.' |
|
|
|
|
|
|
|
STATIC_URL = '/static/' |
|
|
|
STATIC_ROOT = BASE_DIR / "staticfiles" |
|
|
|
STATICFILES_DIRS = [BASE_DIR / "static",] |
|
|
|
|
|
|
|
# Default primary key field type |
|
|
|
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field |
|
|
|
@ -157,8 +160,6 @@ AUTH_USER_MODEL = "reymotausers.ReyMotaUser" |
|
|
|
MEDIA_ROOT = BASE_DIR / "mediafiles" |
|
|
|
MEDIA_URL = '/media/' |
|
|
|
|
|
|
|
CSRF_TRUSTED_ORIGINS = ["https://*.ocp-cluster.reymota.lab", "https://reymota.es", "http://reymota.rancher.reymota.lab"] |
|
|
|
|
|
|
|
LOGGING = { |
|
|
|
'version': 1, |
|
|
|
'disable_existing_loggers': False, |
|
|
|
|