It was originally setup this way to not assume which directory within STATICFILES_DIRS the manifest file is in. However we can perform some basic logic to find it. if len(STATICFILES_DIRS) == 1 then we know it'll be in STATICFILES_DIRS[0]. If it's longer than 1 then we can just iterate through and check.
Should still allow the user to set the output dir in order to not have to do all that checking.
It was originally setup this way to not assume which directory within
STATICFILES_DIRS
the manifest file is in. However we can perform some basic logic to find it.if len(STATICFILES_DIRS) == 1
then we know it'll be inSTATICFILES_DIRS[0]
. If it's longer than 1 then we can just iterate through and check.Should still allow the user to set the output dir in order to not have to do all that checking.