Hi,
I am looking for support to deploy a Django application on cPanel. The application itself is working, however the static files (CSS, JS and Images) do not load in the application.
In my settings.py file, it is as such:
STATIC_URL = '/static/'
STATICFILES_DIRS = ['static']
STATIC_ROOT = os.path.join(BASE_DIR, 'assets')
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, '/home/<myusername>/public_html/media')
The static files are located in : /home/<myusername>/public_html/app/static and a copy is located in /home/<myusername>/public_html/static.
Thank you for your help.