Metronic django assets lost in production
Hi,
I tried to use django metronic but the nginx cant copy de "assets" folder to STATIC_ROOT, so not serving de STATICs files, even if I user the original files, ex:
Any suggestions to solve it?
Thanks
Replies (3)
Hi,
Could you please send the screenshots of the issue?
Thanks
https://postimg.cc/nMJCftYK
when make the collecstatic they send ( js, css, media ) do the folder in STATIC_ROOT, but all the site ask for assets in STATIC_ROOT,
Hi,
You can change the assets folder to any other name in the config.
starterkit/_keenthemes/settings.py
STATIC_URL = 'assets/'STATICFILES_DIRS = [
BASE_DIR / 'assets',
]
Thanks
Your Support Matters!
We will highly appreciate your Metronic Review on Themeforest.
Please go to Themeforest Downloads page, select Metronic & leave your feedback.