I just launched my Django server, and trying to access it through browser, but the layout is broken, how to fix this issue?
Thanks all for your quick response, I just fixed this issue with following method:
Environment: Apache and WSGI
/etc/apache2/sites-enabled/000-default
Alias /static/ /path/to/mysite.com/static/
Require all granted
settings.py
STATIC_ROOT = BASE_DIR + '/static' STATIC_URL = '/static/'
python manage.py collectstatic
and restart Apache