added check if DJANGO_SETTINGS_MODULE exists and then use

"django-admin.py collectstatic" instead of "python manage.py"
to exec collectstatic