Heroku Push: Error while running '$ python manage.py collectstatic


#1

My push get rejected after i get that error. I’ve checked my Profile and requirements and both seem to be alright. i dont know where else to check.


#2

ok. took me forever… and of course, after i gave up and wrote on the forum i found the answer:

in settings.py i missed a comma:

STATIC_URL = '/static/'
STATIC_ROOT = 'staticfiles'
STATICFILES_DIRS = (
    os.path.join(BASE_DIR, 'static')**,** <- that comma
)

I decided to shared cause i know i wont be the last one making that mistake


#3

Yup, pesky commas! They’re like half of my issues. Thanks for letting us know the solution. :)