You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the base.py settings STATIC_ROOT is set to normpath(join(SITE_ROOT, 'assets')), when I think it really should be normpath(join(SITE_ROOT, 'static')). The STATICFILES_DIRS refers to a "static" folder not an "assets" folder.
The text was updated successfully, but these errors were encountered:
In the example above, we follow the official Django documentation's convention of using /static for the (non-user-generated) static media directory
If you find this confusing, there's no harm in calling it assets/ or site_assets/instead. Just remember to update your STATICFILES_DIRS setting appropriately.
I could not find much else in the doc refering to collectstatic or static. I'd kinda like to know why it's suggested to have static file collection dir inside the repo (vs. outside version control)?
In the base.py settings STATIC_ROOT is set to normpath(join(SITE_ROOT, 'assets')), when I think it really should be normpath(join(SITE_ROOT, 'static')). The STATICFILES_DIRS refers to a "static" folder not an "assets" folder.
The text was updated successfully, but these errors were encountered: