|
@@ -132,8 +132,11 @@ THOUSAND_SEPARATOR = '.'
|
|
|
# Static files (CSS, JavaScript, Images)
|
|
# Static files (CSS, JavaScript, Images)
|
|
|
# https://docs.djangoproject.com/en/5.1/howto/static-files/
|
|
# https://docs.djangoproject.com/en/5.1/howto/static-files/
|
|
|
|
|
|
|
|
-STATIC_URL = '/static/'
|
|
|
|
|
-STATIC_ROOT = os.path.join(BASE_DIR, 'wsgi', 'static')
|
|
|
|
|
|
|
+STATIC_URL = 'static/'
|
|
|
|
|
+STATIC_ROOT = BASE_DIR / "staticfiles"
|
|
|
|
|
+
|
|
|
|
|
+MEDIA_URL = '/media/'
|
|
|
|
|
+MEDIA_ROOT = BASE_DIR / "mediafiles"
|
|
|
|
|
|
|
|
# Default primary key field type
|
|
# Default primary key field type
|
|
|
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field
|
|
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field
|
|
@@ -146,9 +149,6 @@ LOGOUT_REDIRECT_URL = 'principal'
|
|
|
|
|
|
|
|
AUTH_USER_MODEL = "reymotausers.ReyMotaUser"
|
|
AUTH_USER_MODEL = "reymotausers.ReyMotaUser"
|
|
|
|
|
|
|
|
-MEDIA_ROOT = BASE_DIR / "media"
|
|
|
|
|
-MEDIA_URL = '/media/'
|
|
|
|
|
-
|
|
|
|
|
CSRF_TRUSTED_ORIGINS = ["https://*.ocp-cluster.reymota.lab"]
|
|
CSRF_TRUSTED_ORIGINS = ["https://*.ocp-cluster.reymota.lab"]
|
|
|
|
|
|
|
|
# Configuración de correo con Gmail
|
|
# Configuración de correo con Gmail
|