diff --git a/ia_prof/settings.py b/ia_prof/settings.py index 21b3417..183e840 100644 --- a/ia_prof/settings.py +++ b/ia_prof/settings.py @@ -101,6 +101,8 @@ USE_TZ = True # https://docs.djangoproject.com/en/4.x/howto/static-files/ STATIC_URL = '/static/' +STATIC_ROOT = os.path.join(BASE_DIR, 'static') +STATICFILES_DIRS = [os.path.join(BASE_DIR, 'main', 'templates', 'static')] if os.path.exists(os.path.join(BASE_DIR, 'main', 'templates', 'static')) else [] # Default primary key field type # https://docs.djangoproject.com/en/4.x/ref/settings/#default-auto-field