Hi Django Users,
It looks like from Stack Overflowing searching this is an error that people come across deploying to heroku and because I'm fairly new to Django, I think it might be something simple that I'm missing:
This is from my heroku logs. I currently have collectstatic disabled and debug collectstatic on. When I set Debug = True in my settings.py, it will load just fine but exposes variables and such when there are errors or something fails. Does anyone know why this is happening or have encountered it before? I really want to send my web app out to beta test next week.
I get this:
raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)
ValueError: Missing staticfiles manifest entry for 'icons/favicon.ico'
ValueError: Missing staticfiles manifest entry for 'icons/favicon.ico'
I'm using whitenoise for static files and my relevant static settings are:
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
STATIC_URL = "/static/"
STATICFILES_DIRS = (
os.path.join(BASE_DIR, '../apps/core/static'),
)
STATICFILES_STORAGE = 'whitenoise.storage.CompressedStaticFilesStorage'
STATIC_URL = "/static/"
STATICFILES_DIRS = (
os.path.join(BASE_DIR, '../apps/core/static'),
)
STATICFILES_STORAGE = 'whitenoise.storage.CompressedStaticFilesStorage'
Any help would be greatly appreciated! I've tried a number of things over the week from changing static settings to almost everything suggested on Stackoverflow. I learned to stop worrying and just get back to developing, but now I'm worrying again.
Hope you all had a great week!
Cheers,
Kevin Dublin
Etched Press Editor
Author of How to Fall in Love in San Diego
Follow me @parteverything
Happiness is a state of being, just be.
Believe it, and it will be.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANips4%2BJNTM97huCyBskWv0JxbtqtLP6FUdb0CYq8FhDjAMpWw%40mail.gmail.com.
No comments:
Post a Comment