3
I installed Django in a project and would like to make the folder structure somewhat similar to Laravel. I can organize myself better this way. But I don’t know if it’s possible using such a framework.
Would like so:
PROJETO
--- venv
--- site
    --- settings.py
    --- urls.py
--- app_1
--- app_2
--- app_3
--- resources
    --- sass
    --- js
--- dist
    --- css
    --- js
    --- img
I would like to use Gulp to compile the files from within the folder resources to the folder dist.
That folder dist I’d like you to be my briefcase static.
I even set up the structure, but I can’t point it at mine settings.py to read her files.
My file settings.py is like this:
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'dist')
I don’t know if I’m doing it right.