Good afternoon, dear experts! When I try to execute collectstatic, I take out the statics to just the root of the disk D. Although I registered the following with the networks:

What could be the problem?

Settings: STATIC_URL = '/ static /'

STATICFILES_DIRS = [os.path.join (BASE_DIR, 'static'), 'D: \ DjangoProjects \ mysite']

STATIC_ROOT = '/ static /'

    1 answer 1

    The variable STATIC_ROOT takes the full path from the root of the system.

    For example:

    STATIC_ROOT = os.path.join(BASE_DIR, 'static') # т.е. D:\DjangoProjects\mysite\static