1👍
✅
Thanks all for your quick response, I just fixed this issue with following method:
Environment: Apache and WSGI
- Add following line to
/etc/apache2/sites-enabled/000-default
Alias /static/ /path/to/mysite.com/static/ <Directory /path/to/mysite.com/static> Require all granted </Directory>
- Add following line to
settings.py
STATIC_ROOT = BASE_DIR + '/static' STATIC_URL = '/static/'
- Run
python manage.py collectstatic
and restart Apache
Source:stackexchange.com