[Django]-Django Static Files Not Serving On Development With Proper Config

4👍

I was setting STATIC_ROOT and MEDIA_ROOT when I should have been setting this:

STATICFILES_DIRS = (
    # Put strings here, like "/home/html/static" or "C:/www/django/static".
    # Always use forward slashes, even on Windows.
    # Don't forget to use absolute paths, not relative paths.
    PROJECT_PATH + '/static/',
)
👤Darren

Leave a comment