Sobre os arquivos estáticos, DEBUG e ALLOWED_HOSTS
This commit is contained in:
@@ -123,6 +123,8 @@ STATIC_URL = 'static/'
|
||||
STATICFILES_DIRS = [
|
||||
BASE_DIR / 'base' / 'static'
|
||||
]
|
||||
# https://whitenoise.readthedocs.io/en/latest/
|
||||
STATIC_ROOT = BASE_DIR / 'static_files'
|
||||
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
|
||||
|
||||
Reference in New Issue
Block a user